drm/amdgpu: Fix the comment to avoid warning
Subsystems (2)
PATCH 1/1 drm/amdgpu: Fix the comment to avoid warning
Fix the below comment warning drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c:541:
warning: Function parameter or struct member 'adev' not described in 'amdgpu_sdma_register_on_reset_callbacks'
--- drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c +1 -0
@@ -531,6 +531,7 @@ bool amdgpu_sdma_is_shared_inv_eng(struct amdgpu_device *adev, struct amdgpu_rin/** * amdgpu_sdma_register_on_reset_callbacks - Register SDMA reset callbacks +* @adev: Pointer to the AMDGPU device * @funcs: Pointer to the callback structure containing pre_reset and post_reset functions * * This function allows KFD and AMDGPU to register their own callbacks for handling
Signature · 1 line
2.34.1
Am 03.04.25 um 09:29 schrieb Sunil Khatri:
Quoted 6 lines
Fix the below comment warning
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c:541:
warning: Function parameter or struct member 'adev' not described in 'amdgpu_sdma_register_on_reset_callbacks'Signed-off-by Sunil Khatri <[email protected]>
Quoted 16 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c +1
-0@@ -531,6 +531,7 @@ bool amdgpu_sdma_is_shared_inv_eng(struct amdgpu_device *adev, struct amdgpu_rin/** * amdgpu_sdma_register_on_reset_callbacks - Register SDMA reset callbacks +* @adev: Pointer to the AMDGPU device * @funcs: Pointer to the callback structure containing pre_reset and post_reset functions * * This function allows KFD and AMDGPU to register their own callbacks for handling
SHANMUGAM, SRINIVASAN
Reviewed-by Christian König[AMD Official Use Only - AMD Internal Distribution Only]
This was submitted much before https://patchwork.freedesktop.org/patch/639004/
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Christian König
Sent: Thursday, April 3, 2025 2:33 PM
To: Khatri, Sunil <[email protected]>; [email protected]
Cc: Deucher, Alexander <[email protected]>
Subject: Re: [PATCH] drm/amdgpu: Fix the comment to avoid warning
Am 03.04.25 um 09:29 schrieb Sunil Khatri:
Quoted 6 lines
Fix the below comment warning
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c:541:
warning: Function parameter or struct member 'adev' not described in 'amdgpu_sdma_register_on_reset_callbacks'Signed-off-by Sunil Khatri <[email protected]>
Quoted 16 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c +1
-0@@ -531,6 +531,7 @@ bool amdgpu_sdma_is_shared_inv_eng(struct amdgpu_device *adev, struct amdgpu_rin/** * amdgpu_sdma_register_on_reset_callbacks - Register SDMA reset callbacks +* @adev: Pointer to the AMDGPU device * @funcs: Pointer to the callback structure containing pre_reset and post_reset functions * * This function allows KFD and AMDGPU to register their own callbacks for handling