aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2304-drm-amdgpu-disable-some-gfx-light-sleep.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2304-drm-amdgpu-disable-some-gfx-light-sleep.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2304-drm-amdgpu-disable-some-gfx-light-sleep.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2304-drm-amdgpu-disable-some-gfx-light-sleep.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2304-drm-amdgpu-disable-some-gfx-light-sleep.patch
new file mode 100644
index 00000000..96d348ae
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2304-drm-amdgpu-disable-some-gfx-light-sleep.patch
@@ -0,0 +1,36 @@
+From 6316269af6b7d204328fa7e5ff2719e44d9f9eea Mon Sep 17 00:00:00 2001
+From: tiancyin <tianci.yin@amd.com>
+Date: Thu, 11 Apr 2019 18:59:07 +0800
+Subject: [PATCH 2304/2940] drm/amdgpu: disable some gfx light sleep
+
+temporarily disable to avoid s3 test failure.
+
+s3 test failure log:
+"[drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout,
+signaled seq=8278, emitted seq=8281"
+
+Reviewed-by: Jack Xiao <Jack.Xiao@amd.com>
+Signed-off-by: Tianci Yin <tianci.yin@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/nv.c | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
+index a0d19b9d329c..5f00eef1be2a 100644
+--- a/drivers/gpu/drm/amd/amdgpu/nv.c
++++ b/drivers/gpu/drm/amd/amdgpu/nv.c
+@@ -492,10 +492,6 @@ static int nv_common_early_init(void *handle)
+ switch (adev->asic_type) {
+ case CHIP_NAVI10:
+ adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |
+- AMD_CG_SUPPORT_GFX_MGLS |
+- AMD_CG_SUPPORT_GFX_RLC_LS |
+- AMD_CG_SUPPORT_GFX_CP_LS |
+- AMD_CG_SUPPORT_GFX_CGLS |
+ AMD_CG_SUPPORT_GFX_CGCG |
+ AMD_CG_SUPPORT_IH_CG |
+ AMD_CG_SUPPORT_HDP_MGCG |
+--
+2.17.1
+