aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2089-drm-amdgpu-Disable-RAS-temporarily.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2089-drm-amdgpu-Disable-RAS-temporarily.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2089-drm-amdgpu-Disable-RAS-temporarily.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2089-drm-amdgpu-Disable-RAS-temporarily.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2089-drm-amdgpu-Disable-RAS-temporarily.patch
new file mode 100644
index 00000000..9fa88f1e
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2089-drm-amdgpu-Disable-RAS-temporarily.patch
@@ -0,0 +1,31 @@
+From a9db03726cac5638f12da747af68038b746daaac Mon Sep 17 00:00:00 2001
+From: Kent Russell <kent.russell@amd.com>
+Date: Wed, 29 May 2019 08:38:33 -0400
+Subject: [PATCH 2089/2940] drm/amdgpu: Disable RAS temporarily
+
+This is not fully supported, and there are some issues that still need
+to be addressed. Disable this in the kernel parameters for now until we
+get a proper firmware fix
+
+Change-Id: I4c698ff2ab289c167126d73adda41b488c4bed04
+Signed-off-by: Kent Russell <kent.russell@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+index 3fae55da7e1e..4cb4f7d0904d 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+@@ -144,7 +144,7 @@ uint amdgpu_dc_feature_mask = 0;
+ struct amdgpu_mgpu_info mgpu_info = {
+ .mutex = __MUTEX_INITIALIZER(mgpu_info.mutex),
+ };
+-int amdgpu_ras_enable = -1;
++int amdgpu_ras_enable;
+ uint amdgpu_ras_mask = 0xffffffff;
+
+ /**
+--
+2.17.1
+