drm/amdgpu: add the argument description for inst
Subsystems (2)
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
@@ -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
PATCH v3 2/2 drm/amdgpu: add the argument description for gpu_addr
Add argument description for the input argumentgpu_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
--- drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c +1 -0
@@ -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
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_addrforamdgpu_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_allocCc Arunpravin Paneer Selvam<[email protected]>Signed-off-by Sunil Khatri<[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@@ -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.
Re: [PATCH v3 2/2] drm/amdgpu: add the argument description for gpu_addr
In reply to Sunil KhatriQuoted 9 lines · Sunil Khatri
Add argument description for the input argument
gpu_addrforamdgpu_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_allocCc Arunpravin Paneer Selvam<[email protected]>Signed-off-by Sunil Khatri<[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@@ -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.
Quoted 9 lines · Sunil Khatri
Add argument description for the input argument
inst foramdgpu_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'Cc Boyuan Zhang<[email protected]>Signed-off-by Sunil Khatri<[email protected]>
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@@ -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.