Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/sys/external/bsd/drm2/dist/drm/i915 Pull up following rev...
details: https://anonhg.NetBSD.org/src/rev/470885d6858b
branches: netbsd-7
changeset: 798360:470885d6858b
user: snj <snj%NetBSD.org@localhost>
date: Sun Sep 21 18:11:37 2014 +0000
description:
Pull up following revision(s) (requested by riastradh in ticket #99):
sys/external/bsd/drm2/dist/drm/i915/i915_irq.c: revision 1.9
Lock irq_lock around i915_error_wake_up in i915_error_work_func.
diffstat:
sys/external/bsd/drm2/dist/drm/i915/i915_irq.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r 6bdea3f81aee -r 470885d6858b sys/external/bsd/drm2/dist/drm/i915/i915_irq.c
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_irq.c Sun Sep 21 18:10:52 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_irq.c Sun Sep 21 18:11:37 2014 +0000
@@ -2250,7 +2250,9 @@
* Note: The wake_up also serves as a memory barrier so that
* waiters see the update value of the reset counter atomic_t.
*/
+ spin_lock(&dev_priv->irq_lock);
i915_error_wake_up(dev_priv, true);
+ spin_unlock(&dev_priv->irq_lock);
}
}
Home |
Main Index |
Thread Index |
Old Index