]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amdgpu: Set VCN_5_0_2 DPG mode
authorSonny Jiang <sonjiang@amd.com>
Fri, 23 Jan 2026 16:08:35 +0000 (11:08 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Mar 2026 21:43:09 +0000 (17:43 -0400)
Set DPG flag for VCN_5_0_2

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

index 3952181c077e65b07910942dfa49f05851f43268..709b1669b07bcbf48f9ae43251a7310713b7bddd 100644 (file)
@@ -322,7 +322,7 @@ static int soc_v1_0_common_early_init(struct amdgpu_ip_block *ip_block)
        case IP_VERSION(12, 1, 0):
                adev->cg_flags = AMD_CG_SUPPORT_GFX_CGCG |
                        AMD_CG_SUPPORT_GFX_CGLS;
-               adev->pg_flags = 0;
+               adev->pg_flags = AMD_PG_SUPPORT_VCN_DPG;
                adev->external_rev_id = adev->rev_id + 0x50;
                break;
        default: