mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 19:50:12 +01:00
i915: Fix scheduled buffer swaps.
One instance of unlocking a spinlock was converted incorrectly when this code was fixed to build on BSD.
This commit is contained in:
parent
a3881ad2fe
commit
78d111fa96
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ static void i915_vblank_tasklet(struct drm_device *dev)
|
||||||
DRM_SPINLOCK(&dev_priv->swaps_lock);
|
DRM_SPINLOCK(&dev_priv->swaps_lock);
|
||||||
}
|
}
|
||||||
|
|
||||||
DRM_SPINUNLOCK(&dev->drw_lock);
|
DRM_SPINUNLOCK(&dev_priv->swaps_lock);
|
||||||
|
|
||||||
if (nhits == 0) {
|
if (nhits == 0) {
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue