From: Kenneth Feng Date: Fri, 1 Mar 2024 03:09:22 +0000 (+0800) Subject: drm/amd/amdgpu: enable cgcg and cgls X-Git-Tag: io_uring-6.11-20240722~49^2~25^2~390 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=81b09cedb37bc7aa80712361a60f1396c8c3d0a0;p=linux-2.6-block.git drm/amd/amdgpu: enable cgcg and cgls enable cgcg and cgls on gc 12.0.1 Signed-off-by: Kenneth Feng Reviewed-by: Likun Gao Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/soc24.c b/drivers/gpu/drm/amd/amdgpu/soc24.c index 0979dffe3742..143329ed2c9a 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc24.c +++ b/drivers/gpu/drm/amd/amdgpu/soc24.c @@ -401,7 +401,8 @@ static int soc24_common_early_init(void *handle) adev->external_rev_id = adev->rev_id + 0x40; break; case IP_VERSION(12, 0, 1): - adev->cg_flags = 0; + adev->cg_flags = AMD_CG_SUPPORT_GFX_CGCG | + AMD_CG_SUPPORT_GFX_CGLS; adev->pg_flags = AMD_PG_SUPPORT_VCN | AMD_PG_SUPPORT_JPEG | AMD_PG_SUPPORT_VCN_DPG;