Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: enable GFX clock gating for beige_goby

Enable GFX MGCG, CGCG and 3DCG for beige_goby.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Jiansong Chen <Jiansong.Chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Tao Zhou and committed by
Alex Deucher
bc6bd46b 7077b19a

+3 -1
+3 -1
drivers/gpu/drm/amd/amdgpu/nv.c
··· 1278 1278 adev->external_rev_id = adev->rev_id + 0x3c; 1279 1279 break; 1280 1280 case CHIP_BEIGE_GOBY: 1281 - adev->cg_flags = 0; 1281 + adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | 1282 + AMD_CG_SUPPORT_GFX_CGCG | 1283 + AMD_CG_SUPPORT_GFX_3D_CGCG; 1282 1284 adev->pg_flags = AMD_PG_SUPPORT_VCN | 1283 1285 AMD_PG_SUPPORT_VCN_DPG; 1284 1286 adev->external_rev_id = adev->rev_id + 0x46;