diff options
| author | Donggeun Yoo <donggeunyoo.kernel@gmail.com> | 2026-09-10 21:16:01 +0900 |
|---|---|---|
| committer | Philipp Stanner <phasta@kernel.org> | 2026-09-23 09:23:03 +0200 |
| commit | 2302669bb4b52d581cc2589b90b3af7bb3783a28 (patch) | |
| tree | 56ca94d586a9157a35220f23c27df88af7fa999c /scripts/git.orderFile | |
| parent | 73ef663c75688168e31dbe9c585b939be410a945 (diff) | |
| download | linux-next-2302669bb4b52d581cc2589b90b3af7bb3783a28.tar.gz linux-next-2302669bb4b52d581cc2589b90b3af7bb3783a28.zip | |
drm/sched: Free the run queues at the end of drm_sched_fini()
drm_sched_fini() frees the run queues at the top of teardown but the array
holding them at the bottom. The early half is on the wrong side of
cancel_delayed_work_sync(&sched->work_tdr), which waits for a timeout
handler that can still walk sched->sched_rq[i] through
drm_sched_increase_karma().
No correct driver can be there, since every fence returned from run_job()
must be signaled before drm_sched_fini() is called. Free the entries next
to the array anyway, so run-queue teardown happens in one place.
Link: https://lore.kernel.org/dri-devel/20260910054605.634135-1-donggeunyoo.kernel@gmail.com/
Assisted-by: Claude:claude-fable-5
Signed-off-by: Donggeun Yoo <donggeunyoo.kernel@gmail.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Signed-off-by: Philipp Stanner <phasta@kernel.org>
Link: https://patch.msgid.link/20260910121601.805032-1-donggeunyoo.kernel@gmail.com
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
