drm/amdgpu: enable cgcg and cgls for GC 11_0_2

Enable GFX CGCG and CGLS for GFX v11_0_2.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Likun Gao 2022-02-14 14:46:41 +08:00 committed by Alex Deucher
parent 30ca5b2b6b
commit 9503a944e7
1 changed files with 2 additions and 0 deletions

View File

@ -549,6 +549,8 @@ static int soc21_common_early_init(void *handle)
break;
case IP_VERSION(11, 0, 2):
adev->cg_flags =
AMD_CG_SUPPORT_GFX_CGCG |
AMD_CG_SUPPORT_GFX_CGLS |
AMD_CG_SUPPORT_VCN_MGCG |
AMD_CG_SUPPORT_JPEG_MGCG;
adev->pg_flags =