summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/soc21.c
diff options
context:
space:
mode:
authorJames Zhu <James.Zhu@amd.com>2022-01-05 20:38:04 -0500
committerAlex Deucher <alexander.deucher@amd.com>2022-05-05 16:52:16 -0400
commit7ece9314a4d3fd0ee1989f1eaf1ba65f83558d1f (patch)
tree53a733dfa070e1a1a3929af891332f8dc1188bf3 /drivers/gpu/drm/amd/amdgpu/soc21.c
parentebac66a3283689c0f58dce023108ba71968eb161 (diff)
downloadlinux-7ece9314a4d3fd0ee1989f1eaf1ba65f83558d1f.tar.gz
linux-7ece9314a4d3fd0ee1989f1eaf1ba65f83558d1f.tar.bz2
linux-7ece9314a4d3fd0ee1989f1eaf1ba65f83558d1f.zip
drm/amdgpu/vcn: enable VCN CG for VCN4_0_4
Enable VCN CG for VCN4_0_4. Signed-off-by: James Zhu <James.Zhu@amd.com> Reviewed-by: Sonny Jiang <sonny.jiang@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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c
index a75860e6c3b4..d2ea7db18141 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc21.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc21.c
@@ -549,6 +549,7 @@ static int soc21_common_early_init(void *handle)
break;
case IP_VERSION(11, 0, 2):
adev->cg_flags =
+ AMD_CG_SUPPORT_VCN_MGCG |
AMD_CG_SUPPORT_JPEG_MGCG;
adev->pg_flags =
AMD_PG_SUPPORT_JPEG;