Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/dist/drm/i915 Lock irq_lock around i91...
details: https://anonhg.NetBSD.org/src/rev/dcd51123f949
branches: trunk
changeset: 331870:dcd51123f949
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Aug 27 23:30:26 2014 +0000
description:
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 e863f7e5acb7 -r dcd51123f949 sys/external/bsd/drm2/dist/drm/i915/i915_irq.c
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_irq.c Wed Aug 27 19:02:17 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_irq.c Wed Aug 27 23:30:26 2014 +0000
@@ -2249,7 +2249,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