summaryrefslogtreecommitdiff
path: root/linux/gamma.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-10-17 05:13:48 +0000
committerEric Anholt <anholt@freebsd.org>2003-10-17 05:13:48 +0000
commit2950f9e6823d43abae151966ae808d1a63e6659c (patch)
treeb7fbcbc101da31d02c5f3748568bc9caf54b13fa /linux/gamma.h
parentff58476011ba8fe72d65e884380d3d86710bfdd4 (diff)
- Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle them
from __HAVE_DMA. This will be useful for adding vblank sync support to sis and tdfx. Rename dma_service to irq_handler, which is more accurately what it is. - Fix the #if _HAVE_DMA_IRQ in radeon, r128, mga, i810, i830, gamma to have the right number of underscores. This may have been a problem in the case that the server died without doing its DRM_IOCTL_CONTROL to uninit.
Diffstat (limited to 'linux/gamma.h')
-rw-r--r--linux/gamma.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/gamma.h b/linux/gamma.h
index 407eb369..d4712ef2 100644
--- a/linux/gamma.h
+++ b/linux/gamma.h
@@ -108,8 +108,8 @@
return 0; \
} while (0)
-#define __HAVE_DMA_IRQ 1
-#define __HAVE_DMA_IRQ_BH 1
+#define __HAVE_IRQ 1
+#define __HAVE_IRQ_BH 1
#define DRIVER_AGP_BUFFERS_MAP( dev ) \
((drm_gamma_private_t *)((dev)->dev_private))->buffers