Skip to contentSkip to conversation

Fix comments warnings for vcn clock/power gating

PATCH New Sunil Khatri 1 participant 9 messages Nov 21, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover Fix comments warnings for vcn clock/power gating

*** BLURB HERE ***

Sunil Khatri (8):
drm/amdgpu: Fix comment for vcn_v4_0_set_clockgating_state drm/amdgpu: Fix comment for vcn_v5_0_0_set_clockgating_state drm/amdgpu: Fix comment for vcn_v4_0_3_set_powergating_state drm/amdgpu: Fix comment for vcn_v4_0_5_set_clockgating_state drm/amdgpu: Fix comment for vcn_v4_0_5_set_powergating_state drm/amdgpu: Fix comment for vcn_v5_0_0_set_powergating_state drm/amdgpu: Fix comment for vcn_v4_0_set_powergating_state drm/amdgpu: Fix comment for vcn_v4_0_3_set_clockgating_state

 drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c   | 4 ++--
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c | 4 ++--
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c | 4 ++--
 drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)
Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/8 drm/amdgpu: Fix comment for vcn_v4_0_set_clockgating_state

add vcn_v4_0_set_clockgating_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_set_clockgating_state'
warning: Excess function parameter 'handle' description in 'vcn_v4_0_set_clockgating_state'

---
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c +1 -1
index 2a79db21aec2..ceeae8cd400a 100644
@@ -2011,7 +2011,7 @@ static int vcn_v4_0_wait_for_idle(struct amdgpu_ip_block *ip_block)
 /**
  * vcn_v4_0_set_clockgating_state - set VCN block clockgating state
  *
- * @handle: amdgpu_device pointer
+ * @ip_block: IP Block for specific IP type
  * @state: clock gating state
  *
  * Set VCN block clockgating state
Signature · 1 line
2.34.1
#2 lore raw

PATCH 2/8 drm/amdgpu: Fix comment for vcn_v5_0_0_set_clockgating_state

In reply to Sunil Khatri

add vcn_v4_0_set_clockgating_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_v5_0_0_set_clockgating_state'
warning: Excess function parameter 'handle' description in 'vcn_v5_0_0_set_clockgating_state'

---
 drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c +1 -1
index 3c278554cb4a..6213f1041195 100644
@@ -1233,7 +1233,7 @@ static int vcn_v5_0_0_wait_for_idle(struct amdgpu_ip_block *ip_block)
 /**
  * vcn_v5_0_0_set_clockgating_state - set VCN block clockgating state
  *
- * @handle: amdgpu_device pointer
+ * @ip_block: IP Block for specific IP type
  * @state: clock gating state
  *
  * Set VCN block clockgating state
Signature · 1 line
2.34.1
#3 lore raw

PATCH 3/8 drm/amdgpu: Fix comment for vcn_v4_0_3_set_powergating_state

In reply to Sunil Khatri

add vcn_v4_0_3_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_3_set_powergating_state'
warning: Excess function parameter 'handle' description in 'vcn_v4_0_3_set_powergating_state'

---
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c +1 -1
index 04a18aadad61..ee041cf7adcf 100644
@@ -1648,7 +1648,7 @@ static int vcn_v4_0_3_set_clockgating_state(struct amdgpu_ip_block *ip_block,
 /**
  * vcn_v4_0_3_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
Signature · 1 line
2.34.1
#4 lore raw

PATCH 4/8 drm/amdgpu: Fix comment for vcn_v4_0_5_set_clockgating_state

In reply to Sunil Khatri

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

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

---
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c +1 -1
index e49ba5bc7fa0..750d838fe170 100644
@@ -1496,7 +1496,7 @@ static int vcn_v4_0_5_wait_for_idle(struct amdgpu_ip_block *ip_block)
 /**
  * vcn_v4_0_5_set_clockgating_state - set VCN block clockgating state
  *
- * @handle: amdgpu_device pointer
+ * @ip_block: IP Block for specific IP type
  * @state: clock gating state
  *
  * Set VCN block clockgating state
Signature · 1 line
2.34.1
#5 lore raw

PATCH 5/8 drm/amdgpu: Fix comment for vcn_v4_0_5_set_powergating_state

In reply to Sunil Khatri

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'

---
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c +1 -1
index 750d838fe170..0db04d1e2978 100644
@@ -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
Signature · 1 line
2.34.1
#6 lore raw

PATCH 6/8 drm/amdgpu: Fix comment for vcn_v5_0_0_set_powergating_state

In reply to Sunil Khatri

add vcn_v5_0_0_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_v5_0_0_set_powergating_state'
warning: Excess function parameter 'handle' description in 'vcn_v5_0_0_set_powergating_state'

---
 drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c +1 -1
index 6213f1041195..e76c55f068b4 100644
@@ -1264,7 +1264,7 @@ static int vcn_v5_0_0_set_clockgating_state(struct amdgpu_ip_block *ip_block,
 /**
  * vcn_v5_0_0_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
Signature · 1 line
2.34.1
#7 lore raw

PATCH 7/8 drm/amdgpu: Fix comment for vcn_v4_0_set_powergating_state

In reply to Sunil Khatri

add vcn_v4_0_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_set_powergating_state'
warning: Excess function parameter 'handle' description in 'vcn_v4_0_set_powergating_state'

---
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c +1 -1
index ceeae8cd400a..e765a4057e87 100644
@@ -2042,7 +2042,7 @@ static int vcn_v4_0_set_clockgating_state(struct amdgpu_ip_block *ip_block,
 /**
  * vcn_v4_0_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
Signature · 1 line
2.34.1
#8 lore raw

PATCH 8/8 drm/amdgpu: Fix comment for vcn_v4_0_3_set_clockgating_state

In reply to Sunil Khatri

add vcn_v4_0_3_set_clockgating_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_3_set_clockgating_state'
warning: Excess function parameter 'handle' description in 'vcn_v4_0_3_set_clockgating_state'

---
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c +1 -1
index ee041cf7adcf..dc0f67590a9a 100644
@@ -1620,7 +1620,7 @@ static int vcn_v4_0_3_wait_for_idle(struct amdgpu_ip_block *ip_block)
 
 /* vcn_v4_0_3_set_clockgating_state - set VCN block clockgating state
  *
- * @handle: amdgpu_device pointer
+ * @ip_block: IP Block for specific IP type
  * @state: clock gating state
  *
  * Set VCN block clockgating state
Signature · 1 line
2.34.1