The scheduler wouldn't be the scheduler if there weren't functions like drm_sched_job_arm() being called probably a few thousand times per second without taking proper locks, just racing wildly.
This series adds the proper locks to drm_sched_job_init() and drm_sched_job_arm(). Philipp Stanner (2): drm/sched: Use proper locks in drm_sched_job_arm() drm/sched: Use proper locks for drm_sched_job_init() drivers/gpu/drm/scheduler/sched_main.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) -- 2.49.0
