]> git.dujemihanovic.xyz Git - linux.git/commitdiff
drm/amdgpu/vcn: enable vcn DPG mode for VCN4_0_3
authorJames Zhu <James.Zhu@amd.com>
Sun, 9 Jan 2022 21:05:31 +0000 (16:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:41:41 +0000 (09:41 -0400)
Enable vcn DPG mode for VCN4_0_3.

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>
drivers/gpu/drm/amd/amdgpu/soc15.c

index ee00302950c23fb4fff1766c5a5d0aad01385eb7..b7e8af56df84628549f4af2ccd92767751a4d449 100644 (file)
@@ -1100,6 +1100,7 @@ static int soc15_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;
                break;
        default: