Skip to contentSkip to conversation

drm/amdgpu: add the argument description for inst

PATCH In review Sunil Khatri 3 participants 5 messages Nov 13, 2024

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

PATCH v3 1/2 drm/amdgpu: add the argument description for inst

Add argument description for the input argument
inst for amdgpu_device_ip_set_powergating_state.

Fixes the warning raised by the compiler:
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:2182:
warning: Function parameter or struct member 'inst' not described in 'amdgpu_device_ip_set_powergating_state'

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +1 -0
index bb530dd2b3e3..b3ca911e55d6 100644
@@ -2170,6 +2170,7 @@ int amdgpu_device_ip_set_clockgating_state(void *dev,
  * @dev: amdgpu_device pointer
  * @block_type: Type of hardware IP (SMU, GFX, UVD, etc.)
  * @state: powergating state (gate or ungate)
+ * @inst: Instance id of the specific block_type
  *
  * Sets the requested powergating state for all instances of
  * the hardware IP specified.
Signature · 1 line
2.34.1
#1 lore raw

PATCH v3 2/2 drm/amdgpu: add the argument description for gpu_addr

Add argument description for the input argument
gpu_addr for amdgpu_seq64_alloc.

Fixes the warning raised by the compiler:
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c:168:
warning: Function parameter or struct member 'gpu_addr' not described in 'amdgpu_seq64_alloc

Cc Arunpravin Paneer Selvam <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c +1 -0
index 0defad71044c..898d215a8d99 100644
@@ -156,6 +156,7 @@ void amdgpu_seq64_unmap(struct amdgpu_device *adev, struct amdgpu_fpriv *fpriv)
  *
  * @adev: amdgpu_device pointer
  * @va: VA to access the seq in process address space
+ * @gpu_addr: GPU address to access the seq
  * @cpu_addr: CPU address to access the seq
  *
  * Alloc a 64 bit memory from seq64 pool.
Signature · 1 line
2.34.1
Reviewed-by on v3 2/2
#2 lore raw

Re: [PATCH v3 2/2] drm/amdgpu: add the argument description for gpu_addr

Quoted 25 lines · Sunil Khatri

Add argument description for the input argument
gpu_addr for amdgpu_seq64_alloc.

Fixes the warning raised by the compiler:
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c:168:
warning: Function parameter or struct member 'gpu_addr' not described in 'amdgpu_seq64_alloc

Cc Arunpravin Paneer Selvam<[email protected]>
---
  drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c | 1 +
  1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c +1 -0
index 0defad71044c..898d215a8d99 100644
@@ -156,6 +156,7 @@ void amdgpu_seq64_unmap(struct amdgpu_device *adev, struct amdgpu_fpriv *fpriv)
   *
   * @adev: amdgpu_device pointer
   * @va: VA to access the seq in process address space
+ * @gpu_addr: GPU address to access the seq
   * @cpu_addr: CPU address to access the seq
   *
   * Alloc a 64 bit memory from seq64 pool.
Reviewed-by on v3 2/2
#3 lore raw

Re: [PATCH v3 2/2] drm/amdgpu: add the argument description for gpu_addr

In reply to Sunil Khatri
Quoted 9 lines · Sunil Khatri

Add argument description for the input argument
gpu_addr for amdgpu_seq64_alloc.

Fixes the warning raised by the compiler:
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c:168:
warning: Function parameter or struct member 'gpu_addr' not described in 'amdgpu_seq64_alloc

Cc Arunpravin Paneer Selvam<[email protected]>
Quoted 16 lines
---
  drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c | 1 +
  1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c +1 -0
index 0defad71044c..898d215a8d99 100644
@@ -156,6 +156,7 @@ void amdgpu_seq64_unmap(struct amdgpu_device *adev, struct amdgpu_fpriv *fpriv)
   *
   * @adev: amdgpu_device pointer
   * @va: VA to access the seq in process address space
+ * @gpu_addr: GPU address to access the seq
   * @cpu_addr: CPU address to access the seq
   *
   * Alloc a 64 bit memory from seq64 pool.
Reviewed-by on v3 1/2
#4 lore raw
In reply to Sunil Khatri
Quoted 9 lines · Sunil Khatri

Add argument description for the input argument
inst for amdgpu_device_ip_set_powergating_state.

Fixes the warning raised by the compiler:
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:2182:
warning: Function parameter or struct member 'inst' not described in 'amdgpu_device_ip_set_powergating_state'

Quoted 16 lines
---
  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 +
  1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +1 -0
index bb530dd2b3e3..b3ca911e55d6 100644
@@ -2170,6 +2170,7 @@ int amdgpu_device_ip_set_clockgating_state(void *dev,
   * @dev: amdgpu_device pointer
   * @block_type: Type of hardware IP (SMU, GFX, UVD, etc.)
   * @state: powergating state (gate or ungate)
+ * @inst: Instance id of the specific block_type
   *
   * Sets the requested powergating state for all instances of
   * the hardware IP specified.