summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/soc21.c
diff options
context:
space:
mode:
authorJames Zhu <James.Zhu@amd.com>2022-04-07 01:37:07 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-05-04 10:43:56 -0400
commit04270390fe85eb314cce8e67919d69f016239d70 (patch)
treec2b4885a21f0c0d9ad068357e5dfee2ff7c93aa5 /drivers/gpu/drm/amd/amdgpu/soc21.c
parent7c507d35a53214ea366f2aeda7bebbc94909491b (diff)
downloadlinux-04270390fe85eb314cce8e67919d69f016239d70.tar.bz2
drm/amdgpu/vcn: enable vcn4 dpg mode
Enable vcn4 dpg mode. Signed-off-by: James Zhu <James.Zhu@amd.com> Reviewed-by: Leo Liu <leo.liu@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 66309992f9c5..6b06f8f61e2e 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc21.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc21.c
@@ -486,6 +486,7 @@ static int soc21_common_early_init(void *handle)
AMD_CG_SUPPORT_VCN_MGCG |
AMD_CG_SUPPORT_JPEG_MGCG;
adev->pg_flags = AMD_PG_SUPPORT_VCN |
+ AMD_PG_SUPPORT_VCN_DPG |
AMD_PG_SUPPORT_JPEG |
AMD_PG_SUPPORT_ATHUB |
AMD_PG_SUPPORT_MMHUB;