[PATCH] drm/amd/amdgpu: Add missing kdoc 'gpu_addr' parameter in amdgpu_seq64_alloc()
Srinivasan Shanmugam
srinivasan.shanmugam at amd.com
Mon Nov 11 02:43:50 UTC 2024
Fixes the below with gcc W=1:
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c:168: warning: Function parameter or struct member 'gpu_addr' not described in 'amdgpu_seq64_alloc'
Cc: Christian König <christian.koenig at amd.com>
Cc: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam at amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
index 0defad71044c..41ab2e2ccef4 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
@@ -156,7 +156,8 @@ void amdgpu_seq64_unmap(struct amdgpu_device *adev, struct amdgpu_fpriv *fpriv)
*
* @adev: amdgpu_device pointer
* @va: VA to access the seq in process address space
- * @cpu_addr: CPU address to access the seq
+ * @cpu_addr: CPU address to access the seq no.
+ * @gpu_addr: GPU address to access the seq no.
*
* Alloc a 64 bit memory from seq64 pool.
*
--
2.34.1
More information about the amd-gfx
mailing list