[PATCH] drm/amdgpu: Fix amdgpu_vm_is_bo_always_valid kerneldoc

Tvrtko Ursulin tursulin at igalia.com
Mon May 20 08:18:14 UTC 2024


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>
---
 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.
-- 
2.44.0



More information about the amd-gfx mailing list