artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90c9425
)
raise mm obj_lock mtx ipl to IPL_TTY
author
jsg
<jsg@openbsd.org>
Thu, 27 Jan 2022 04:17:40 +0000
(
04:17
+0000)
committer
jsg
<jsg@openbsd.org>
Thu, 27 Jan 2022 04:17:40 +0000
(
04:17
+0000)
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()
sys/dev/pci/drm/i915/i915_gem.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/i915/i915_gem.c
b/sys/dev/pci/drm/i915/i915_gem.c
index
63cf246
..
93dcce2
100644
(file)
--- 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);