]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amdgpu: re-enable CGCG on CZ and disable on ST
authorShirish S <shirish.s@amd.com>
Mon, 5 Feb 2018 03:53:00 +0000 (09:23 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Feb 2018 05:05:22 +0000 (00:05 -0500)
The CGCG feature on Stoney is causing GFX related
issues such as freezes and blank outs.

Signed-off-by: Shirish S <shirish.s@amd.com>
Reviewed-by: Arindam Nath <arindam.nath@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vi.c

index 5bd10f52ca8af2ced6e06c0989078282a7bae0e9..1e3e05a11f7a47ab476677b00f8731c79608f914 100644 (file)
@@ -1022,6 +1022,7 @@ static int vi_common_early_init(void *handle)
                        AMD_CG_SUPPORT_GFX_CP_LS |
                        AMD_CG_SUPPORT_GFX_CGTS |
                        AMD_CG_SUPPORT_GFX_CGTS_LS |
+                       AMD_CG_SUPPORT_GFX_CGCG |
                        AMD_CG_SUPPORT_GFX_CGLS |
                        AMD_CG_SUPPORT_BIF_LS |
                        AMD_CG_SUPPORT_HDP_MGCG |
@@ -1048,7 +1049,6 @@ static int vi_common_early_init(void *handle)
                        AMD_CG_SUPPORT_GFX_CP_LS |
                        AMD_CG_SUPPORT_GFX_CGTS |
                        AMD_CG_SUPPORT_GFX_CGTS_LS |
-                       AMD_CG_SUPPORT_GFX_CGCG |
                        AMD_CG_SUPPORT_GFX_CGLS |
                        AMD_CG_SUPPORT_BIF_LS |
                        AMD_CG_SUPPORT_HDP_MGCG |