diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-01-27 04:17:41 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-01-27 04:17:41 +0000 |
commit | 5ab392740275ddb70d53e0b790ed75414e4dd4bb (patch) | |
tree | 71c6cf6ba1e697ee0ea7336d7a8d70dc584ace04 | |
parent | 670ef28b6e0c93a5ecf906d6d30a247ca5d67452 (diff) |
raise mm obj_lock mtx ipl to IPL_TTY
used with spin_lock_irqsave() from
__i915_gem_object_set_pages()
i915_gem_suspend_late()
i915_gem_shrink()
i915_gem_shrinker_oom()
i915_gem_object_make_unshrinkable()
i915_gem_madvise_ioctl()
-rw-r--r-- | sys/dev/pci/drm/i915/i915_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915/i915_gem.c b/sys/dev/pci/drm/i915/i915_gem.c index 63cf24678a0..93dcce2966c 100644 --- a/sys/dev/pci/drm/i915/i915_gem.c +++ b/sys/dev/pci/drm/i915/i915_gem.c @@ -1208,7 +1208,7 @@ void i915_gem_driver_release(struct drm_i915_private *dev_priv) static void i915_gem_init__mm(struct drm_i915_private *i915) { - mtx_init(&i915->mm.obj_lock, IPL_NONE); + mtx_init(&i915->mm.obj_lock, IPL_TTY); init_llist_head(&i915->mm.free_list); |