drm/amdgpu: Enable VCN DPG for GC11_0_1
authorSonny Jiang <sonny.jiang@amd.com>
Thu, 29 Sep 2022 16:24:27 +0000 (12:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Sep 2022 15:20:43 +0000 (11:20 -0400)
Enable VCN DPG on GC11_0_1

Signed-off-by: Sonny Jiang <sonny.jiang@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc21.c

index 5f0d698..16b7576 100644 (file)
@@ -629,6 +629,7 @@ static int soc21_common_early_init(void *handle)
                        AMD_CG_SUPPORT_JPEG_MGCG;
                adev->pg_flags =
                        AMD_PG_SUPPORT_GFX_PG |
+                       AMD_PG_SUPPORT_VCN_DPG |
                        AMD_PG_SUPPORT_JPEG;
                adev->external_rev_id = adev->rev_id + 0x1;
                break;