From 42da33c444e5a6ca8ffa15622a9783f550e69d4b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 25 Apr 2003 01:18:47 +0000 Subject: Update the DRM to the latest from DRI CVS. Includes some bugfixes and removal of the infrastructure for the gamma driver which was removed a while back. The DRM_LINUX option is removed because the handler is now provided by the linux compat code itself. --- sys/dev/drm/mga_drv.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'sys/dev/drm/mga_drv.h') diff --git a/sys/dev/drm/mga_drv.h b/sys/dev/drm/mga_drv.h index 5772cd62486c..b3ebaf629fd4 100644 --- a/sys/dev/drm/mga_drv.h +++ b/sys/dev/drm/mga_drv.h @@ -186,16 +186,6 @@ do { \ } \ } while (0) -#define LOCK_TEST_WITH_RETURN( dev ) \ -do { \ - if ( !_DRM_LOCK_IS_HELD( dev->lock.hw_lock->lock ) || \ - dev->lock.pid != DRM_CURRENTPID ) { \ - DRM_ERROR( "%s called without lock held\n", \ - __FUNCTION__ ); \ - return DRM_ERR(EINVAL); \ - } \ -} while (0) - #define WRAP_TEST_WITH_RETURN( dev_priv ) \ do { \ if ( test_bit( 0, &dev_priv->prim.wrapped ) ) { \ -- cgit v1.2.3