From 97b2e10e9467a4086e72cf9146d4699fc9baf1c0 Mon Sep 17 00:00:00 2001 From: Srinivasan Shanmugam Date: Tue, 2 Dec 2025 15:32:04 +0530 Subject: [PATCH] drm/amdgpu/sdma_v7_1: Add missing inst_mask entry in sdma_v7_1_inst_gfx_resume() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The comment for sdma_v7_1_inst_gfx_resume() did not include the inst_mask parameter, even though the function takes it as an argument. Update the comment to document inst_mask as the mask of SDMA engine instances to be enabled. Fixes the below with gcc W=1: drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c:644 function parameter 'inst_mask' not described in 'sdma_v7_1_inst_gfx_resume' Cc: Likun Gao Cc: Le Ma Cc: Alex Deucher Cc: Christian König Signed-off-by: Srinivasan Shanmugam Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c b/drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c index 37f5095c1511..753512276e37 100644 --- a/drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c @@ -607,7 +607,7 @@ static int sdma_v7_1_gfx_resume_instance(struct amdgpu_device *adev, int i, bool * sdma_v7_1_inst_gfx_resume - setup and start the async dma engines * * @adev: amdgpu_device pointer - * inst_mask: mask of dma engine instances to be enabled + * @inst_mask: mask of dma engine instances to be enabled * * Set up the gfx DMA ring buffers and enable them. * Returns 0 for success, error for failure. -- 2.47.3