aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/1281-drm-sched-Fix-description-of-drm_sched_stop.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/1281-drm-sched-Fix-description-of-drm_sched_stop.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/1281-drm-sched-Fix-description-of-drm_sched_stop.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/1281-drm-sched-Fix-description-of-drm_sched_stop.patch b/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/1281-drm-sched-Fix-description-of-drm_sched_stop.patch
new file mode 100644
index 00000000..25dbd201
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/1281-drm-sched-Fix-description-of-drm_sched_stop.patch
@@ -0,0 +1,38 @@
+From 7004dfc32bc502ecae31ce334465318b1916b78f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= <j.neuschaefer@gmx.net>
+Date: Sat, 20 Apr 2019 14:50:50 +0200
+Subject: [PATCH 1281/2940] drm/sched: Fix description of drm_sched_stop
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Since commit 222b5f044159 ("drm/sched: Refactor ring mirror list
+handling."), drm_sched_hw_job_reset is no longer there, so let's adjust
+the doc comment accordingly.
+
+Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
+Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/scheduler/sched_main.c | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/scheduler/sched_main.c b/drivers/gpu/drm/scheduler/sched_main.c
+index 0dadc5798478..51f9cc315b55 100644
+--- a/drivers/gpu/drm/scheduler/sched_main.c
++++ b/drivers/gpu/drm/scheduler/sched_main.c
+@@ -369,10 +369,9 @@ EXPORT_SYMBOL(drm_sched_increase_karma);
+
+
+ /**
+- * drm_sched_hw_job_reset - stop the scheduler if it contains the bad job
++ * drm_sched_stop - stop the scheduler
+ *
+ * @sched: scheduler instance
+- * @bad: bad scheduler job
+ *
+ */
+ void drm_sched_stop(struct drm_gpu_scheduler *sched)
+--
+2.17.1
+