Skip to contentSkip to conversation

drm/amdgpu: Fix amdgpu_vm_is_bo_always_valid kerneldoc

PATCH Applied Tvrtko Ursulin 3 participants 3 messages May 20, 2024 – May 21, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: Fix amdgpu_vm_is_bo_always_valid kerneldoc

From: Tvrtko Ursulin <[email protected]>

Align kerneldoc with the function argument name.

Fixes 26e20235ce00 ("drm/amdgpu: Add amdgpu_bo_is_vm_bo helper")
Cc Christian König <[email protected]>
Cc Alex Deucher <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +1 -1
index b9cca51356b1..3abfa66d72a2 100644
@@ -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.
Signature · 1 line
2.44.0
Applied
#1 lore raw

Applied. Thanks!

Alex

Quoted 30 lines · Tvrtko Ursulin

From: Tvrtko Ursulin <[email protected]>

Align kerneldoc with the function argument name.

Fixes 26e20235ce00 ("drm/amdgpu: Add amdgpu_bo_is_vm_bo helper")
Cc Christian König <[email protected]>
Cc Alex Deucher <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +1 -2
index b9cca51356b1..3abfa66d72a2 100644
@@ -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

maintainer Reviewed-by on v1 1/1
#2 lore raw
In reply to Tvrtko Ursulin

Am 20.05.24 um 10:18 schrieb Tvrtko Ursulin:

Quoted 9 lines

From: Tvrtko Ursulin <[email protected]>

Align kerneldoc with the function argument name.

Fixes 26e20235ce00 ("drm/amdgpu: Add amdgpu_bo_is_vm_bo helper")
Cc Christian König <[email protected]>
Cc Alex Deucher <[email protected]>
Quoted 17 lines
---
  drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +1 -1
index b9cca51356b1..3abfa66d72a2 100644
@@ -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.