diff options
author | Eric Anholt <anholt@freebsd.org> | 2002-09-26 07:45:07 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2002-09-26 07:45:07 +0000 |
commit | 97961e2c65773328fe9c2e1d66e4a0b8a253d54d (patch) | |
tree | 3b81fbbe9ebef5f2398964df7dc392c73646add1 /bsd/gamma.h | |
parent | 770d045d25728be51534b930afdfa36f3ffddbfc (diff) |
BSD vblank framework.
Diffstat (limited to 'bsd/gamma.h')
-rw-r--r-- | bsd/gamma.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/bsd/gamma.h b/bsd/gamma.h index 232ed018..161dc048 100644 --- a/bsd/gamma.h +++ b/bsd/gamma.h @@ -67,27 +67,5 @@ #define __HAVE_DMA_IRQ 1 #define __HAVE_DMA_IRQ_BH 1 -#define DRIVER_PREINSTALL() do { \ - drm_gamma_private_t *dev_priv = \ - (drm_gamma_private_t *)dev->dev_private;\ - GAMMA_WRITE( GAMMA_GCOMMANDMODE, 0x00000000 ); \ - GAMMA_WRITE( GAMMA_GDMACONTROL, 0x00000000 ); \ -} while (0) - -#define DRIVER_POSTINSTALL() do { \ - drm_gamma_private_t *dev_priv = \ - (drm_gamma_private_t *)dev->dev_private;\ - GAMMA_WRITE( GAMMA_GINTENABLE, 0x00002001 ); \ - GAMMA_WRITE( GAMMA_COMMANDINTENABLE, 0x00000008 ); \ - GAMMA_WRITE( GAMMA_GDELAYTIMER, 0x00039090 ); \ -} while (0) - -#define DRIVER_UNINSTALL() do { \ - drm_gamma_private_t *dev_priv = \ - (drm_gamma_private_t *)dev->dev_private;\ - GAMMA_WRITE( GAMMA_GDELAYTIMER, 0x00000000 ); \ - GAMMA_WRITE( GAMMA_COMMANDINTENABLE, 0x00000000 ); \ - GAMMA_WRITE( GAMMA_GINTENABLE, 0x00000000 ); \ -} while (0) #endif /* __GAMMA_H__ */ |