Skip to contentSkip to conversation

drm/amdgpu: add missing comment for the new argument

PATCH In review Sunil Khatri 1 participant 2 messages Sep 24, 2025

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

PATCH 1/1 drm/amdgpu: add missing comment for the new argument

In function 'amdgpu_vm_lock_done_list' update the comment for the new argument 'vm'.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +1 -0
index d0c95fb0ef81..1ccd348bf48b 100644
@@ -486,6 +486,7 @@ int amdgpu_vm_lock_pd(struct amdgpu_vm *vm, struct drm_exec *exec,
 
 /**
  * amdgpu_vm_lock_done_list - lock all BOs on the done list
+ * @vm: vm providing the BOs
  * @exec: drm execution context
  * @num_fences: number of extra fences to reserve
  *
Signature · 1 line
2.34.1
author Reviewed-by Christian König on v1 1/1
#1 lore raw

[AMD Official Use Only - AMD Internal Distribution Only]

Ignore please.

-----Original Message-----
From: Sunil Khatri <[email protected]>
Sent: Wednesday, September 24, 2025 12:32 PM
To: Koenig, Christian <[email protected]>; Kuehling, Felix <[email protected]>; Deucher, Alexander <[email protected]>; [email protected]
Cc: Khatri, Sunil <[email protected]>; kernel test robot <[email protected]>
Subject: [PATCH] drm/amdgpu: add missing comment for the new argument

In function 'amdgpu_vm_lock_done_list' update the comment for the new argument 'vm'.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +1 -0
index d0c95fb0ef81..1ccd348bf48b 100644
@@ -486,6 +486,7 @@ int amdgpu_vm_lock_pd(struct amdgpu_vm *vm, struct drm_exec *exec,
 
 /**
  * amdgpu_vm_lock_done_list - lock all BOs on the done list
+ * @vm: vm providing the BOs
  * @exec: drm execution context
  * @num_fences: number of extra fences to reserve
  *

--
2.34.1