i915: Fix scheduled buffer swaps.
One instance of unlocking a spinlock was converted incorrectly when this code was fixed to build on BSD.main
parent
a3881ad2fe
commit
78d111fa96
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue