[PATCH] drm/amdgpu: Fix amdgpu_vm_is_bo_always_valid kerneldoc

Christian König christian.koenig at amd.com
Tue May 21 18:37:39 UTC 2024


Am 20.05.24 um 10:18 schrieb Tvrtko Ursulin:
> From: Tvrtko Ursulin <tvrtko.ursulin at igalia.com>
>
> Align kerneldoc with the function argument name.
>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at igalia.com>
> Reported-by: Stephen Rothwell <sfr at canb.auug.org.au>
> Fixes: 26e20235ce00 ("drm/amdgpu: Add amdgpu_bo_is_vm_bo helper")
> Cc: Christian König <christian.koenig at amd.com>
> Cc: Alex Deucher <alexander.deucher at amd.com>

Reviewed-by: Christian König <christian.koenig at amd.com>

> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> index b9cca51356b1..3abfa66d72a2 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> @@ -3008,7 +3008,7 @@ void amdgpu_vm_update_fault_cache(struct amdgpu_device *adev,
>    * amdgpu_vm_is_bo_always_valid - check if the BO is VM always valid
>    *
>    * @vm: VM to test against.
> - * @abo: BO to be tested.
> + * @bo: BO to be tested.
>    *
>    * Returns true if the BO shares the dma_resv object with the root PD and is
>    * always guaranteed to be valid inside the VM.



More information about the amd-gfx mailing list