]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amdgpu/vcn5: enable DPG mode support
authorSonny Jiang <sonny.jiang@amd.com>
Tue, 31 Oct 2023 15:21:24 +0000 (11:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 May 2024 20:18:14 +0000 (16:18 -0400)
Enable DPG mode

Signed-off-by: Sonny Jiang <sonny.jiang@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc24.c

index 9c14f81c88a7f2b16d50d58982b8858a2f23c98a..e7929be1a6ff7468b2724ed7d09b0d8b2ebc4a7f 100644 (file)
@@ -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;