Skip to contentSkip to conversation

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

PATCH In review Prike Liang 2 participants 2 messages Mar 1, 2022

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

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

Enable gfx cg gate/ungate control for GC 10.3.7.

---
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +1 -0
index 90158289cd30..fd7ded7799e2 100644
@@ -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;
Signature · 1 line
2.17.1
maintainer Reviewed-by on v1 1/1
#1 lore raw

[Public]

________________________________
From: Liang, Prike <[email protected]>
Sent: Monday, February 28, 2022 10:01 PM
To: [email protected] <[email protected]>
Cc: Deucher, Alexander <[email protected]>; Huang, Ray <[email protected]>; Liang, Prike <[email protected]>
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.

---
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +1 -0
index 90158289cd30..fd7ded7799e2 100644
@@ -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