summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/soc21.c
diff options
context:
space:
mode:
authorLikun Gao <Likun.Gao@amd.com>2022-02-14 14:46:41 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-05-05 16:53:00 -0400
commit9503a944e723a8e81ab6f6181070d1194060a78f (patch)
tree80a64e61293ad923a3a92ffaad5c6dc6625ac77a /drivers/gpu/drm/amd/amdgpu/soc21.c
parent30ca5b2b6b7ea5053e7dfd09de72088f60aa433c (diff)
downloadlinux-9503a944e723a8e81ab6f6181070d1194060a78f.tar.gz
linux-9503a944e723a8e81ab6f6181070d1194060a78f.tar.bz2
linux-9503a944e723a8e81ab6f6181070d1194060a78f.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc21.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc21.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c
index 7bafc146aa55..5d359b768c57 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc21.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc21.c
@@ -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 =