summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-09-18 20:55:43 +0100
committerMichel Dänzer <michel@tungstengraphics.com>2007-09-18 21:06:55 +0100
commit78d111fa967d18e7f9f9b2acd26aff20b884eb6c (patch)
tree7e5ff66fab141b9f4c0cfe5bea7dae051d0d4948 /shared-core
parenta3881ad2fef99aaf0a863609a847020ea822798c (diff)
i915: Fix scheduled buffer swaps.
One instance of unlocking a spinlock was converted incorrectly when this code was fixed to build on BSD.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/i915_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/i915_irq.c b/shared-core/i915_irq.c
index 804e3fb1..ea84c708 100644
--- a/shared-core/i915_irq.c
+++ b/shared-core/i915_irq.c
@@ -188,7 +188,7 @@ static void i915_vblank_tasklet(struct drm_device *dev)
DRM_SPINLOCK(&dev_priv->swaps_lock);
}
- DRM_SPINUNLOCK(&dev->drw_lock);
+ DRM_SPINUNLOCK(&dev_priv->swaps_lock);
if (nhits == 0) {
return;