Applied.  Thanks!

On Wed, Nov 4, 2026 at 4:41 AM Christian König <[email protected]> wrote:
>
> On 11/4/26 03:47, Arnaud Bonnet wrote:
> > [Sie erhalten nicht häufig E-Mails von [email protected]. Weitere 
> > Informationen, warum dies wichtig ist, finden Sie unter 
> > https://aka.ms/LearnAboutSenderIdentification ]
> >
> > Commit 48c4aaeef621 ("drm/amdgpu/ttm: Make buffer copy source readonly")
> > introduces a new parameter @readonly in function amdgpu_ttm_map_buffer()
> > but doesn't update the documentation, leading to the following warning:
> >
> >   Warning: drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:209 function
> >   parameter 'readonly' not described in 'amdgpu_ttm_map_buffer'
> >
> > Add the missing description to the kernel doc comments for the readonly
> > parameter.
> >
> > Signed-off-by: Arnaud Bonnet <[email protected]>
>
> Reviewed-by: Christian König <[email protected]>
>
> > ---
> >  drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 
> > b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> > index 0f86777250fc..d3a875a32af1 100644
> > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> > @@ -195,6 +195,7 @@ amdgpu_ttm_job_submit(struct amdgpu_device *adev, 
> > struct amdgpu_ttm_buffer_entit
> >   * @addr: resulting address inside the MC address space
> >   * @vm_needs_flush: out, set true if a GART window was programmed (VMID 0 
> > flush
> >   *                 needed) or false for a direct address
> > + * @readonly: true if the mapping should be created with non-writeable 
> > pages
> >   *
> >   * Setup one of the GART windows to access a specific piece of memory or 
> > return
> >   * the physical address for local memory.
> > --
> > 2.53.0
> >
>

Reply via email to