[PATCH v1 5/8] drm/amdgpu: Fix comment for vcn_v4_0_5_set_powergating_state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



add vcn_v4_0_5_set_powergating_state ip_block comment and
clean up the argument "handle" comment.

This fixes the warning:
warning: Function parameter or struct member 'ip_block' not described in 'vcn_v4_0_5_set_powergating_state'
warning: Excess function parameter 'handle' description in 'vcn_v4_0_5_set_powergating_state'

Signed-off-by: Sunil Khatri <sunil.khatri@xxxxxxx>
---
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c
index 750d838fe170..0db04d1e2978 100644
--- a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c
+++ b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c
@@ -1527,7 +1527,7 @@ static int vcn_v4_0_5_set_clockgating_state(struct amdgpu_ip_block *ip_block,
 /**
  * vcn_v4_0_5_set_powergating_state - set VCN block powergating state
  *
- * @handle: amdgpu_device pointer
+ * @ip_block: IP Block for specific IP type
  * @state: power gating state
  *
  * Set VCN block powergating state
-- 
2.34.1




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux