diff options
author | rnoland <rnoland@FreeBSD.org> | 2009-02-25 18:22:57 +0000 |
---|---|---|
committer | rnoland <rnoland@FreeBSD.org> | 2009-02-25 18:22:57 +0000 |
commit | 577eb25e17bff022fafedf2009f10bfb3eaff339 (patch) | |
tree | f98fba00d3804dc78395d485d76d1492dc0ec678 /sys/dev/drm/i915_dma.c | |
parent | 69ae0a399c16bf58ad9e38ec8ce5721c352950c5 (diff) | |
download | FreeBSD-src-577eb25e17bff022fafedf2009f10bfb3eaff339.zip FreeBSD-src-577eb25e17bff022fafedf2009f10bfb3eaff339.tar.gz |
The vblank_swap ioctl was fundamentally race prone. Get rid of it.
MFC after: 2 weeks
Diffstat (limited to 'sys/dev/drm/i915_dma.c')
-rw-r--r-- | sys/dev/drm/i915_dma.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/drm/i915_dma.c b/sys/dev/drm/i915_dma.c index 3cf2aef..5df519e 100644 --- a/sys/dev/drm/i915_dma.c +++ b/sys/dev/drm/i915_dma.c @@ -1087,7 +1087,6 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags) #ifdef I915_HAVE_GEM i915_gem_load(dev); #endif - DRM_SPININIT(&dev_priv->swaps_lock, "swap"); DRM_SPININIT(&dev_priv->user_irq_lock, "userirq"); #ifdef __linux__ @@ -1117,7 +1116,6 @@ int i915_driver_unload(struct drm_device *dev) drm_rmmap(dev, dev_priv->mmio_map); - DRM_SPINUNINIT(&dev_priv->swaps_lock); DRM_SPINUNINIT(&dev_priv->user_irq_lock); #ifdef __linux__ |