drm/amd/amdgpu: add AMD_PG_SUPPORT_VCN_DPG flag
authorDavid (Ming Qiang) Wu <David.Wu3@amd.com>
Thu, 23 May 2024 18:14:35 +0000 (14:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 May 2024 18:09:35 +0000 (14:09 -0400)
AMD_PG_SUPPORT_VCN_DPG is needed for secure parts
and should/can be enabled by now.

Signed-off-by: David (Ming Qiang) Wu <David.Wu3@amd.com>
Reviewed-by: Sonny Jiang <sonjiang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc24.c

index d065649c7c7813f815041127d782c814a2e4c0fe..791e37f8b65760b82322bf313e24f7e98b7cf691 100644 (file)
@@ -410,7 +410,8 @@ static int soc24_common_early_init(void *handle)
                        AMD_CG_SUPPORT_MC_MGCG |
                        AMD_CG_SUPPORT_MC_LS;
                adev->pg_flags = AMD_PG_SUPPORT_VCN |
-                       AMD_PG_SUPPORT_JPEG;
+                       AMD_PG_SUPPORT_JPEG |
+                       AMD_PG_SUPPORT_VCN_DPG;
                adev->external_rev_id = adev->rev_id + 0x40;
                break;
        case IP_VERSION(12, 0, 1):