]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Take job list lock in xe_sched_first_pending_job
authorNirmoy Das <nirmoy.das@intel.com>
Tue, 5 Nov 2024 16:03:27 +0000 (17:03 +0100)
committerNirmoy Das <nirmoy.das@intel.com>
Tue, 12 Nov 2024 09:33:30 +0000 (10:33 +0100)
commitcd8e9956552dd2155f6e5ae55eb9c268233c104a
treeb14940797c3814d56c02febf35bb07684d856ebb
parentf7278da76da2589af13bc8a487d0e8f8abdecc99
drm/xe: Take job list lock in xe_sched_first_pending_job

Access to the pending_list should always happens under job_list_lock.

Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241105160327.2970277-1-nirmoy.das@intel.com
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
drivers/gpu/drm/xe/xe_gpu_scheduler.h