The patch below does not apply to the 6.0-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <stable@xxxxxxxxxxxxxxx>. Possible dependencies: e1d900df63ad ("drm/amdgpu: enable VCN DPG for GC IP v11.0.4") 2a0fe2ca6e9c ("drm/amdgpu: Enable pg/cg flags on GC11_0_4 for VCN") 311d52367d0a ("drm/amdgpu: add soc21 common ip block support for GC 11.0.4") 6b46251c5067 ("drm/amdgpu: initialize common sw config for v11_0_3") thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From e1d900df63adcb748905131dd6258e570e11aed1 Mon Sep 17 00:00:00 2001 From: Saleemkhan Jamadar <saleemkhan.jamadar@xxxxxxx> Date: Tue, 20 Dec 2022 13:21:44 +0530 Subject: [PATCH] drm/amdgpu: enable VCN DPG for GC IP v11.0.4 Enable VCN Dynamic Power Gating control for GC IP v11.0.4. Signed-off-by: Saleemkhan Jamadar <saleemkhan.jamadar@xxxxxxx> Reviewed-by: Veerabadhran Gopalakrishnan <veerabadhran.gopalakrishnan@xxxxxxx> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx> Cc: stable@xxxxxxxxxxxxxxx # 6.0, 6.1 diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c index 7d5fdf450d0c..5562670b7b52 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc21.c +++ b/drivers/gpu/drm/amd/amdgpu/soc21.c @@ -666,6 +666,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_GFX_PG | AMD_PG_SUPPORT_JPEG; adev->external_rev_id = adev->rev_id + 0x1;