From: Sonny Jiang Date: Tue, 31 Oct 2023 15:21:24 +0000 (-0400) Subject: drm/amdgpu/vcn5: enable DPG mode support X-Git-Tag: v6.11-rc1~141^2~25^2~392 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=117f85139382c5a9699eae96edc781c9d9c6e86f;p=thirdparty%2Flinux.git drm/amdgpu/vcn5: enable DPG mode support Enable DPG mode Signed-off-by: Sonny Jiang Reviewed-by: Leo Liu Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/soc24.c b/drivers/gpu/drm/amd/amdgpu/soc24.c index 9c14f81c88a7f..e7929be1a6ff7 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc24.c +++ b/drivers/gpu/drm/amd/amdgpu/soc24.c @@ -360,7 +360,8 @@ static int soc24_common_early_init(void *handle) case IP_VERSION(12, 0, 1): adev->cg_flags = 0; 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 + 0x50; adev->cg_flags = AMD_CG_SUPPORT_GFX_CGCG | AMD_CG_SUPPORT_GFX_CGLS;