diff options
author | Likun Gao <[email protected]> | 2024-04-08 04:32:25 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-05-17 17:40:36 -0400 |
commit | d8cd2d617a264734e94c29bcee5e5b5d6b7f3e92 (patch) | |
tree | 83fa764c4b34ef35988cbee3c979507b569292f3 | |
parent | 7be73af53b57c98cf48e37b66da4dc00c63bd6e2 (diff) |
drm/amd/amdgpu: enable mmhub and athub cg on gc 12.0.0
Enable mmhub and athub cg on gc 12.0.0
Signed-off-by: Likun Gao <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc24.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc24.c b/drivers/gpu/drm/amd/amdgpu/soc24.c index e91da2d986da..b2b9e0f83bdf 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc24.c +++ b/drivers/gpu/drm/amd/amdgpu/soc24.c @@ -404,7 +404,11 @@ 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; adev->external_rev_id = adev->rev_id + 0x40; |