diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-01-27 04:20:02 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-01-27 04:20:02 +0000 |
commit | 2b18381bc18eba1a332ddc509a0cfb6476aa6914 (patch) | |
tree | d304c6ff770f415b1ceb44c878da8954af515e52 /sys/dev/pci | |
parent | 5ab392740275ddb70d53e0b790ed75414e4dd4bb (diff) |
raise sched_engine lock mtx ipl to IPL_TTY
used with spin_lock_irq() from
resubmit_virtual_request()
execlists_hold()
execlists_unhold()
execlists_capture()
remove_from_engine()
rcu_virtual_context_destroy()
virtual_submission_tasklet()
used with spin_lock_irqsave() from
execlists_submit_request()
execlists_reset_rewind()
execlists_reset_cancel()
virtual_submit_request()
intel_execlists_show_requests()
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/drm/i915/i915_scheduler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915/i915_scheduler.c b/sys/dev/pci/drm/i915/i915_scheduler.c index d0ebb6a2419..7a92e648b9e 100644 --- a/sys/dev/pci/drm/i915/i915_scheduler.c +++ b/sys/dev/pci/drm/i915/i915_scheduler.c @@ -483,7 +483,7 @@ i915_sched_engine_create(unsigned int subclass) INIT_LIST_HEAD(&sched_engine->requests); INIT_LIST_HEAD(&sched_engine->hold); - mtx_init(&sched_engine->lock, IPL_NONE); + mtx_init(&sched_engine->lock, IPL_TTY); lockdep_set_subclass(&sched_engine->lock, subclass); /* |