Re: [PATCH] drm/amdgpu/mes: document for the MES rs64mem funcs
"Chen, Michael" <[email protected]>
| Newsgroups | org.freedesktop.lists.amd-gfx |
|---|---|
| Message-ID | <DM4PR12MB6279230B06CBA54837DFD58B94C62@DM4PR12MB6279.namprd12.prod.outlook.com> |
AMD General Reviewed-by: Michael Chen <[email protected]> ________________________________ From: Liang, Prike <[email protected]> Sent: Wednesday, July 15, 2026 11:26 PM To: [email protected] <[email protected]> Cc: Deucher, Alexander <[email protected]>; Koenig, Christian <[email protected]>; Chen, Michael <[email protected]>; Liang, Prike <[email protected]>; kernel test robot <[email protected]> Subject: [PATCH] drm/amdgpu/mes: document for the MES rs64mem funcs Fix the compile warning on the document style. Fixes: dded4c22699e ("drm/amdgpu: add mes process context alloc/free") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Prike Liang <[email protected]> --- drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c index 1e3a23c81552..33fd1f3da078 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c @@ -954,6 +954,8 @@ int amdgpu_mes_rs64mem_init(struct amdgpu_mes *mes) /** * amdgpu_mes_rs64mem_fini - tear down RS64 local memory management + * + * @mes: MES instance */ void amdgpu_mes_rs64mem_fini(struct amdgpu_mes *mes) { @@ -1038,6 +1040,7 @@ int amdgpu_mes_rs64mem_setup_bitmaps(struct amdgpu_mes *mes) * amdgpu_mes_alloc_proc_ctx_index - allocate a process context slot * * @mes: MES instance + * @queue: user mode queue structure pointer * * Returns 0 on success, -ENOSPC if all slots are used (caller should * fall back to system memory path). @@ -1066,7 +1069,10 @@ int amdgpu_mes_alloc_proc_ctx_index(struct amdgpu_mes *mes, /** * amdgpu_mes_free_proc_ctx_index - free a process context slot - */ + * + * @mes: MES instance + * @queue: user mode queue structure pointer +*/ void amdgpu_mes_free_proc_ctx_index(struct amdgpu_mes *mes, struct amdgpu_usermode_queue *queue) { @@ -1082,6 +1088,9 @@ void amdgpu_mes_free_proc_ctx_index(struct amdgpu_mes *mes, /** * amdgpu_mes_alloc_gang_ctx_index - allocate a gang context slot + * + * @mes: MES instance + * @queue: user mode queue structure pointer */ int amdgpu_mes_alloc_gang_ctx_index(struct amdgpu_mes *mes, struct amdgpu_usermode_queue *queue) @@ -1107,6 +1116,9 @@ int amdgpu_mes_alloc_gang_ctx_index(struct amdgpu_mes *mes, /** * amdgpu_mes_free_gang_ctx_index - free a gang context slot + * + * @mes: MES instance + * @queue: user mode queue structure pointer */ void amdgpu_mes_free_gang_ctx_index(struct amdgpu_mes *mes, struct amdgpu_usermode_queue *queue) -- 2.34.1