diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/1281-drm-sched-Fix-description-of-drm_sched_stop.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.19.8/1281-drm-sched-Fix-description-of-drm_sched_stop.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/1281-drm-sched-Fix-description-of-drm_sched_stop.patch b/common/recipes-kernel/linux/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/common/recipes-kernel/linux/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 + |