drm/amdgpu: enable VCN DPG for GC IP v11.0.4
authorjsg <jsg@openbsd.org>
Thu, 19 Jan 2023 00:31:30 +0000 (00:31 +0000)
committerjsg <jsg@openbsd.org>
Thu, 19 Jan 2023 00:31:30 +0000 (00:31 +0000)
From Saleemkhan Jamadar
309278736f35f0937d6338d5986a6a4a48e90d2f in linux-6.1.y/6.1.7
e1d900df63adcb748905131dd6258e570e11aed1 in mainline linux

sys/dev/pci/drm/amd/amdgpu/soc21.c

index 599ddc2..909cf9f 100644 (file)
@@ -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;