mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
drm/amdgpu: Fix correct parameter desc for VCN idle check functions
Fixes the kdoc for the following VCN idle check functions by updating the parameter description from 'handle' to 'ip_block': - vcn_v4_0_is_idle - vcn_v4_0_3_is_idle - vcn_v4_0_5_is_idle - vcn_v5_0_1_is_idle Fixes the below with gcc W=1: drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c:935: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v5_0_1_is_idle' drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c:935: warning: Excess function parameter 'handle' description in 'vcn_v5_0_1_is_idle' drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c:1972: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v4_0_is_idle' drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c:1972: warning: Excess function parameter 'handle' description in 'vcn_v4_0_is_idle' drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c:1583: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v4_0_3_is_idle' drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c:1583: warning: Excess function parameter 'handle' description in 'vcn_v4_0_3_is_idle' drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c:1200: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v5_0_0_is_idle' drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c:1200: warning: Excess function parameter 'handle' description in 'vcn_v5_0_0_is_idle' drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c:1460: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v4_0_5_is_idle' drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c:1460: warning: Excess function parameter 'handle' description in 'vcn_v4_0_5_is_idle' Cc: Christian König <christian.koenig@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
7c62aacc3b
commit
59f9c2c9f6
|
|
@ -1964,7 +1964,7 @@ static void vcn_v4_0_set_unified_ring_funcs(struct amdgpu_device *adev)
|
|||
/**
|
||||
* vcn_v4_0_is_idle - check VCN block is idle
|
||||
*
|
||||
* @handle: amdgpu_device pointer
|
||||
* @ip_block: Pointer to the amdgpu_ip_block structure
|
||||
*
|
||||
* Check whether VCN block is idle
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1575,7 +1575,7 @@ static void vcn_v4_0_3_set_unified_ring_funcs(struct amdgpu_device *adev)
|
|||
/**
|
||||
* vcn_v4_0_3_is_idle - check VCN block is idle
|
||||
*
|
||||
* @handle: amdgpu_device pointer
|
||||
* @ip_block: Pointer to the amdgpu_ip_block structure
|
||||
*
|
||||
* Check whether VCN block is idle
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1452,7 +1452,7 @@ static void vcn_v4_0_5_set_unified_ring_funcs(struct amdgpu_device *adev)
|
|||
/**
|
||||
* vcn_v4_0_5_is_idle - check VCN block is idle
|
||||
*
|
||||
* @handle: amdgpu_device pointer
|
||||
* @ip_block: Pointer to the amdgpu_ip_block structure
|
||||
*
|
||||
* Check whether VCN block is idle
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -927,7 +927,7 @@ static void vcn_v5_0_1_set_unified_ring_funcs(struct amdgpu_device *adev)
|
|||
/**
|
||||
* vcn_v5_0_1_is_idle - check VCN block is idle
|
||||
*
|
||||
* @handle: amdgpu_device pointer
|
||||
* @ip_block: Pointer to the amdgpu_ip_block structure
|
||||
*
|
||||
* Check whether VCN block is idle
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user