aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/5371-drm-amdgpu-re-enable-CGCG-on-CZ-and-disable-on-ST.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/5371-drm-amdgpu-re-enable-CGCG-on-CZ-and-disable-on-ST.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/5371-drm-amdgpu-re-enable-CGCG-on-CZ-and-disable-on-ST.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/5371-drm-amdgpu-re-enable-CGCG-on-CZ-and-disable-on-ST.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/5371-drm-amdgpu-re-enable-CGCG-on-CZ-and-disable-on-ST.patch
new file mode 100644
index 00000000..b6f62ef2
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/5371-drm-amdgpu-re-enable-CGCG-on-CZ-and-disable-on-ST.patch
@@ -0,0 +1,32 @@
+From 4ea963333ee188d2008cb3195ca3c2ee66353b26 Mon Sep 17 00:00:00 2001
+From: Shirish S <shirish.s@amd.com>
+Date: Mon, 5 Feb 2018 09:23:00 +0530
+Subject: [PATCH 5371/5725] drm/amdgpu: re-enable CGCG on CZ and disable on ST
+
+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>
+Signed-off-by: Raveendra Talabattula <raveendra.talabattula@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/vi.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
+index 6789cc2..f9c62a7 100644
+--- a/drivers/gpu/drm/amd/amdgpu/vi.c
++++ b/drivers/gpu/drm/amd/amdgpu/vi.c
+@@ -1129,6 +1129,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 |
+--
+2.7.4
+