From: jsg Date: Thu, 19 Jan 2023 00:31:30 +0000 (+0000) Subject: drm/amdgpu: enable VCN DPG for GC IP v11.0.4 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=fb31fcd41cf3c350168d387a3f8cd7e500ea90b7;p=openbsd drm/amdgpu: enable VCN DPG for GC IP v11.0.4 From Saleemkhan Jamadar 309278736f35f0937d6338d5986a6a4a48e90d2f in linux-6.1.y/6.1.7 e1d900df63adcb748905131dd6258e570e11aed1 in mainline linux --- diff --git a/sys/dev/pci/drm/amd/amdgpu/soc21.c b/sys/dev/pci/drm/amd/amdgpu/soc21.c index 599ddc28d8e..909cf9f220c 100644 --- a/sys/dev/pci/drm/amd/amdgpu/soc21.c +++ b/sys/dev/pci/drm/amd/amdgpu/soc21.c @@ -657,6 +657,7 @@ static int soc21_common_early_init(void *handle) adev->cg_flags = 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;