drm/amdkfd: Remove the redundant parameter comments in function get_wave_count
Subsystems (3)
PATCH 1/1 drm/amdkfd: Remove the redundant parameter comments in function get_wave_count
This commit updates described non-existent parameters 'wave_cnt' and 'vmid', and failed to describe the existing 'queue_cnt' parameter.
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c:954: warning: Excess function parameter 'vmid' description in 'get_wave_count'. drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c:954: warning: Excess function parameter 'wave_cnt' description in 'get_wave_count'.
Reported-by Abaci Robot <[email protected]>
Signed-off-by Jiapeng Chong <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c +1 -3
@@ -944,9 +944,7 @@ static void unlock_spi_csq_mutexes(struct amdgpu_device *adev)* * @adev: Handle of device whose registers are to be read * @queue_idx: Index of queue in the queue-map bit-field -* @wave_cnt: Output parameter updated with number of waves in flight -* @vmid: Output parameter updated with VMID of queue whose wave count -* is being collected +* @queue_cnt: Output parameter updated with number of waves in flight * @inst: xcc's instance number on a multi-XCC setup */ static void get_wave_count(struct amdgpu_device *adev, int queue_idx,
Signature · 1 line
2.32.0.3.g01195cf9f