* [PATCH v3 1/2] drm/amdgpu: add the argument description for inst
@ 2024-11-13 9:07 Sunil Khatri
2024-11-13 9:07 ` [PATCH v3 2/2] drm/amdgpu: add the argument description for gpu_addr Sunil Khatri
2024-11-13 14:27 ` [PATCH v3 1/2] drm/amdgpu: add the argument description for inst Boyuan Zhang
0 siblings, 2 replies; 5+ messages in thread
From: Sunil Khatri @ 2024-11-13 9:07 UTC (permalink / raw)
To: Alex Deucher, Christian König, Boyuan Zhang
Cc: amd-gfx, Sunil Khatri, Boyuan Zhang
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'
Cc: Boyuan Zhang <Boyuan.Zhang@amd.com>
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index bb530dd2b3e3..b3ca911e55d6 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -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.
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v3 2/2] drm/amdgpu: add the argument description for gpu_addr
2024-11-13 9:07 [PATCH v3 1/2] drm/amdgpu: add the argument description for inst Sunil Khatri
@ 2024-11-13 9:07 ` Sunil Khatri
2024-11-13 9:13 ` Paneer Selvam, Arunpravin
2024-11-13 14:26 ` Boyuan Zhang
2024-11-13 14:27 ` [PATCH v3 1/2] drm/amdgpu: add the argument description for inst Boyuan Zhang
1 sibling, 2 replies; 5+ messages in thread
From: Sunil Khatri @ 2024-11-13 9:07 UTC (permalink / raw)
To: Alex Deucher, Christian König, Boyuan Zhang
Cc: amd-gfx, Sunil Khatri, Arunpravin Paneer Selvam
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 <Arunpravin.PaneerSelvam@amd.com>
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
index 0defad71044c..898d215a8d99 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
@@ -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.
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v3 2/2] drm/amdgpu: add the argument description for gpu_addr
2024-11-13 9:07 ` [PATCH v3 2/2] drm/amdgpu: add the argument description for gpu_addr Sunil Khatri
@ 2024-11-13 9:13 ` Paneer Selvam, Arunpravin
2024-11-13 14:26 ` Boyuan Zhang
1 sibling, 0 replies; 5+ messages in thread
From: Paneer Selvam, Arunpravin @ 2024-11-13 9:13 UTC (permalink / raw)
To: Sunil Khatri, Alex Deucher, Christian König, Boyuan Zhang; +Cc: amd-gfx
[-- Attachment #1: Type: text/plain, Size: 1198 bytes --]
Reviewed-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
On 11/13/2024 2:37 PM, Sunil Khatri wrote:
> 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<Arunpravin.PaneerSelvam@amd.com>
> Signed-off-by: Sunil Khatri<sunil.khatri@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
> index 0defad71044c..898d215a8d99 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
> @@ -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.
[-- Attachment #2: Type: text/html, Size: 1768 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3 2/2] drm/amdgpu: add the argument description for gpu_addr
2024-11-13 9:07 ` [PATCH v3 2/2] drm/amdgpu: add the argument description for gpu_addr Sunil Khatri
2024-11-13 9:13 ` Paneer Selvam, Arunpravin
@ 2024-11-13 14:26 ` Boyuan Zhang
1 sibling, 0 replies; 5+ messages in thread
From: Boyuan Zhang @ 2024-11-13 14:26 UTC (permalink / raw)
To: Sunil Khatri, Alex Deucher, Christian König
Cc: amd-gfx, Arunpravin Paneer Selvam
[-- Attachment #1: Type: text/plain, Size: 1176 bytes --]
On 2024-11-13 04:07, Sunil Khatri wrote:
> 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<Arunpravin.PaneerSelvam@amd.com>
> Signed-off-by: Sunil Khatri<sunil.khatri@amd.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
> index 0defad71044c..898d215a8d99 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
> @@ -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.
[-- Attachment #2: Type: text/html, Size: 2146 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3 1/2] drm/amdgpu: add the argument description for inst
2024-11-13 9:07 [PATCH v3 1/2] drm/amdgpu: add the argument description for inst Sunil Khatri
2024-11-13 9:07 ` [PATCH v3 2/2] drm/amdgpu: add the argument description for gpu_addr Sunil Khatri
@ 2024-11-13 14:27 ` Boyuan Zhang
1 sibling, 0 replies; 5+ messages in thread
From: Boyuan Zhang @ 2024-11-13 14:27 UTC (permalink / raw)
To: Sunil Khatri, Alex Deucher, Christian König; +Cc: amd-gfx
[-- Attachment #1: Type: text/plain, Size: 1225 bytes --]
On 2024-11-13 04:07, Sunil Khatri wrote:
> 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'
>
> Cc: Boyuan Zhang<Boyuan.Zhang@amd.com>
> Signed-off-by: Sunil Khatri<sunil.khatri@amd.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> index bb530dd2b3e3..b3ca911e55d6 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> @@ -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.
[-- Attachment #2: Type: text/html, Size: 2184 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-11-13 14:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-13 9:07 [PATCH v3 1/2] drm/amdgpu: add the argument description for inst Sunil Khatri
2024-11-13 9:07 ` [PATCH v3 2/2] drm/amdgpu: add the argument description for gpu_addr Sunil Khatri
2024-11-13 9:13 ` Paneer Selvam, Arunpravin
2024-11-13 14:26 ` Boyuan Zhang
2024-11-13 14:27 ` [PATCH v3 1/2] drm/amdgpu: add the argument description for inst Boyuan Zhang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox