* [PATCH] drm/amdgpu: enable gfx clock gating for gfx950
@ 2025-01-30 7:31 Mangesh Gadre
2025-01-30 9:39 ` Lazar, Lijo
0 siblings, 1 reply; 2+ messages in thread
From: Mangesh Gadre @ 2025-01-30 7:31 UTC (permalink / raw)
To: amd-gfx, Lijo.Lazar, Hawking.Zhang; +Cc: Mangesh.Gadre, Le Ma
From: Le Ma <le.ma@amd.com>
The CGCG residency can be observed with the change.
Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
index 2ba185875baa..28a2310a049e 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
@@ -2798,6 +2798,7 @@ static int gfx_v9_4_3_set_clockgating_state(struct amdgpu_ip_block *ip_block,
switch (amdgpu_ip_version(adev, GC_HWIP, 0)) {
case IP_VERSION(9, 4, 3):
case IP_VERSION(9, 4, 4):
+ case IP_VERSION(9, 5, 0):
for (i = 0; i < num_xcc; i++)
gfx_v9_4_3_xcc_update_gfx_clock_gating(
adev, state == AMD_CG_STATE_GATE, i);
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/amdgpu: enable gfx clock gating for gfx950
2025-01-30 7:31 [PATCH] drm/amdgpu: enable gfx clock gating for gfx950 Mangesh Gadre
@ 2025-01-30 9:39 ` Lazar, Lijo
0 siblings, 0 replies; 2+ messages in thread
From: Lazar, Lijo @ 2025-01-30 9:39 UTC (permalink / raw)
To: Mangesh Gadre, amd-gfx, Hawking.Zhang; +Cc: Le Ma
On 1/30/2025 1:01 PM, Mangesh Gadre wrote:
> From: Le Ma <le.ma@amd.com>
>
> The CGCG residency can be observed with the change.
>
> Signed-off-by: Le Ma <le.ma@amd.com>
> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
This can be dropped, no longer needed after -
"drm/amdgpu: Clean up GFX v9.4.3 IP version checks"
Thanks,
Lijo
> ---
> drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
> index 2ba185875baa..28a2310a049e 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
> @@ -2798,6 +2798,7 @@ static int gfx_v9_4_3_set_clockgating_state(struct amdgpu_ip_block *ip_block,
> switch (amdgpu_ip_version(adev, GC_HWIP, 0)) {
> case IP_VERSION(9, 4, 3):
> case IP_VERSION(9, 4, 4):
> + case IP_VERSION(9, 5, 0):
> for (i = 0; i < num_xcc; i++)
> gfx_v9_4_3_xcc_update_gfx_clock_gating(
> adev, state == AMD_CG_STATE_GATE, i);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-30 9:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-30 7:31 [PATCH] drm/amdgpu: enable gfx clock gating for gfx950 Mangesh Gadre
2025-01-30 9:39 ` Lazar, Lijo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.