[Intel-xe] [PATCH 06/20] Revert "drm/sched: Start run wq before TDR in drm_sched_start"
Rodrigo Vivi
rodrigo.vivi at intel.com
Thu Nov 9 14:53:24 UTC 2023
This reverts commit 5cc2f8e4eeb94814a95d46fa3ca9d2f7a0dc89b5.
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
---
drivers/gpu/drm/scheduler/sched_main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/scheduler/sched_main.c b/drivers/gpu/drm/scheduler/sched_main.c
index 334acea98619..ca2d7a35eec5 100644
--- a/drivers/gpu/drm/scheduler/sched_main.c
+++ b/drivers/gpu/drm/scheduler/sched_main.c
@@ -592,13 +592,13 @@ void drm_sched_start(struct drm_gpu_scheduler *sched, bool full_recovery)
drm_sched_job_done(s_job, -ECANCELED);
}
- drm_sched_run_wq_start(sched);
-
if (full_recovery) {
spin_lock(&sched->job_list_lock);
drm_sched_start_timeout(sched);
spin_unlock(&sched->job_list_lock);
}
+
+ drm_sched_run_wq_start(sched);
}
EXPORT_SYMBOL(drm_sched_start);
--
2.41.0
More information about the Intel-xe
mailing list