]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amdgpu/vcn: enable VCN DPG mode for VCN4_0_4
authorJames Zhu <James.Zhu@amd.com>
Thu, 6 Jan 2022 01:39:49 +0000 (20:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2022 20:52:21 +0000 (16:52 -0400)
Enable VCN DPG mode 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>
drivers/gpu/drm/amd/amdgpu/soc21.c

index b72bbad753f5283da87ce1e6c154ac44670f4df8..7bafc146aa55416f5bf958658f9418ee70fb2efa 100644 (file)
@@ -553,6 +553,7 @@ static int soc21_common_early_init(void *handle)
                        AMD_CG_SUPPORT_JPEG_MGCG;
                adev->pg_flags =
                        AMD_PG_SUPPORT_VCN |
+                       AMD_PG_SUPPORT_VCN_DPG |
                        AMD_PG_SUPPORT_JPEG;
                adev->external_rev_id = adev->rev_id + 0x10;
                break;