aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4086-drm-amdgpu-ras-document-the-reboot-ras-option.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4086-drm-amdgpu-ras-document-the-reboot-ras-option.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4086-drm-amdgpu-ras-document-the-reboot-ras-option.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4086-drm-amdgpu-ras-document-the-reboot-ras-option.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4086-drm-amdgpu-ras-document-the-reboot-ras-option.patch
new file mode 100644
index 00000000..48b2cfea
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4086-drm-amdgpu-ras-document-the-reboot-ras-option.patch
@@ -0,0 +1,34 @@
+From 050cc6273640517bb761cc168ac302e51f94fdff Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Tue, 8 Oct 2019 13:08:30 -0500
+Subject: [PATCH 4086/4256] drm/amdgpu/ras: document the reboot ras option
+
+We recently added it, but never documented it.
+
+Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
+index f57b29712d26..18af80f1cffd 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
+@@ -213,11 +213,12 @@ static struct ras_manager *amdgpu_ras_find_obj(struct amdgpu_device *adev,
+ * value to the address.
+ *
+ * Second member: struct ras_debug_if::op.
+- * It has three kinds of operations.
++ * It has four kinds of operations.
+ *
+ * - 0: disable RAS on the block. Take ::head as its data.
+ * - 1: enable RAS on the block. Take ::head as its data.
+ * - 2: inject errors on the block. Take ::inject as its data.
++ * - 3: reboot on unrecoverable error
+ *
+ * How to use the interface?
+ * programs:
+--
+2.17.1
+