diff options
author | Leif Delgass <ldelgass@users.sourceforge.net> | 2003-04-26 22:28:56 +0000 |
---|---|---|
committer | Leif Delgass <ldelgass@users.sourceforge.net> | 2003-04-26 22:28:56 +0000 |
commit | f2a0c5438dc83171de1007a68e4f98e35b5a8fbe (patch) | |
tree | f886e31d758dda4c3460465d0f6be13921efbe58 /linux/gamma.h | |
parent | a79adaab72bde726ce4c08184997f34b31014d9e (diff) |
Ensure driver has been initialized (dev_private != NULL) before installing
irq handler in DRM(irq_install). Modify all drivers to ensure irq
handler is removed before cleanup and cleanup is called at takedown.
Remove unused buffer private struct fields in i810, i830. Check for
lock on init/cleanup in all drivers except i810/i830. The current DDX
for i810 and i830 doesn't hold the lock on kernel init (FIXME?).
Diffstat (limited to 'linux/gamma.h')
-rw-r--r-- | linux/gamma.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linux/gamma.h b/linux/gamma.h index da8f52bb..54dafcfc 100644 --- a/linux/gamma.h +++ b/linux/gamma.h @@ -63,6 +63,12 @@ #define __HAVE_COUNTER9 _DRM_STAT_SPECIAL #define __HAVE_COUNTER10 _DRM_STAT_MISSED +/* Driver customization: + */ +#define DRIVER_PRETAKEDOWN() do { \ + gamma_do_cleanup_dma( dev ); \ +} while (0) + /* DMA customization: */ #define __HAVE_DMA 1 |