]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Revert "amd/amdgpu: Disable VCN DPG mode for Picasso"
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 11 Mar 2021 14:15:26 +0000 (09:15 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Apr 2021 03:36:06 +0000 (23:36 -0400)
This reverts commit c6d2b0fbb893d5c7dda405aa0e7bcbecf1c75f98.

This patch is a workaround for a hardware bug, but I don't
know that we've actually seen the hw bug triggered in practice,
meanwhile a number of people have reported that this causes
suspend and resume issues.

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=211277
Cc: Veerabadhran Gopalakrishnan <veerabadhran.gopalakrishnan@amd.com>
Cc: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c

index d80e12b80c7e5d2f955c1e4be0f3b016692ab703..096e643689033bb436716c898aa186cca205e9b9 100644 (file)
@@ -1405,7 +1405,8 @@ static int soc15_common_early_init(void *handle)
 
                        adev->pg_flags = AMD_PG_SUPPORT_SDMA |
                                AMD_PG_SUPPORT_MMHUB |
-                               AMD_PG_SUPPORT_VCN;
+                               AMD_PG_SUPPORT_VCN |
+                               AMD_PG_SUPPORT_VCN_DPG;
                } else {
                        adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |
                                AMD_CG_SUPPORT_GFX_MGLS |