[PATCH] drm/amdgpu: enable gfx clock gating control for GC 10.3.7

Deucher, Alexander Alexander.Deucher at amd.com
Tue Mar 1 13:58:15 UTC 2022


[Public]

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
________________________________
From: Liang, Prike <Prike.Liang at amd.com>
Sent: Monday, February 28, 2022 10:01 PM
To: amd-gfx at lists.freedesktop.org <amd-gfx at lists.freedesktop.org>
Cc: Deucher, Alexander <Alexander.Deucher at amd.com>; Huang, Ray <Ray.Huang at amd.com>; Liang, Prike <Prike.Liang at amd.com>
Subject: [PATCH] drm/amdgpu: enable gfx clock gating control for GC 10.3.7

Enable gfx cg gate/ungate control for GC 10.3.7.

Signed-off-by: Prike Liang <Prike.Liang at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
index 90158289cd30..fd7ded7799e2 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
@@ -8445,6 +8445,7 @@ static int gfx_v10_0_set_clockgating_state(void *handle,
         case IP_VERSION(10, 3, 5):
         case IP_VERSION(10, 3, 6):
         case IP_VERSION(10, 3, 3):
+       case IP_VERSION(10, 3, 7):
                 gfx_v10_0_update_gfx_clock_gating(adev,
                                                  state == AMD_CG_STATE_GATE);
                 break;
--
2.17.1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20220301/708ec078/attachment.htm>


More information about the amd-gfx mailing list