Skip to contentSkip to conversation

drm/amd/amdgpu: enable mmhub and athub cg on gc 12.0.1

PATCH New Alex Deucher 1 participant 1 message Apr 30, 2024

Subsystems (2)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 drm/amd/amdgpu: enable mmhub and athub cg on gc 12.0.1

From: Kenneth Feng <[email protected]>

enable mmhub and athub cg on gc 12.0.1

---
 drivers/gpu/drm/amd/amdgpu/soc24.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/soc24.c +6 -1
index 174126bc5f602..1bbcd23e703ba 100644
@@ -408,7 +408,12 @@ static int soc24_common_early_init(void *handle)
 			AMD_CG_SUPPORT_GFX_3D_CGLS |
 			AMD_CG_SUPPORT_REPEATER_FGCG |
 			AMD_CG_SUPPORT_GFX_FGCG |
-			AMD_CG_SUPPORT_GFX_PERF_CLK;
+			AMD_CG_SUPPORT_GFX_PERF_CLK |
+			AMD_CG_SUPPORT_ATHUB_MGCG |
+			AMD_CG_SUPPORT_ATHUB_LS |
+			AMD_CG_SUPPORT_MC_MGCG |
+			AMD_CG_SUPPORT_MC_LS;
+
 		adev->pg_flags = AMD_PG_SUPPORT_VCN |
 			AMD_PG_SUPPORT_JPEG |
 			AMD_PG_SUPPORT_VCN_DPG;
Signature · 1 line
2.44.0