]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
drm/amdgpu: re-enable CGCG on CZ and disable on ST
authorShirish S <shirish.s@amd.com>
Thu, 31 Oct 2019 02:25:31 +0000 (10:25 +0800)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 12 Nov 2019 18:04:39 +0000 (19:04 +0100)
BugLink: https://bugs.launchpad.net/bugs/1850572
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>
(cherry picked from commit fb4bbba2775399149ca902f31eb5c46cc7a8d8b8)
Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
Acked-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Acked-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/gpu/drm/amd/amdgpu/vi.c

index 91778e4706bc7a751933082cb6f20daecb13d85c..18bc16d594528eb9724dc2d5691aafeb4d9078f1 100644 (file)
@@ -1093,7 +1093,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 |