drm/amdgpu/mes: document for the MES rs64mem funcs
Subsystems (2)
PATCH 1/1 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]>
Signed-off-by Prike Liang <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c +13 -1
@@ -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)
Signature · 1 line
2.34.1
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]>
Signed-off-by Prike Liang <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c +13 -1
@@ -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