summaryrefslogtreecommitdiff
path: root/shared/mga.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2002-10-30 06:10:34 +0000
committerEric Anholt <anholt@freebsd.org>2002-10-30 06:10:34 +0000
commite656655a361acf73c5652fcef8cf6ba61dfe7a50 (patch)
tree96775fd22bd84a7030a114b108235ca07e12934c /shared/mga.h
parent344c7f6b412c19c963c33709f0d4a3a7205e1d79 (diff)
Kernel support for vblank syncing on Rage 128 and Matrox.
Diffstat (limited to 'shared/mga.h')
-rw-r--r--shared/mga.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/shared/mga.h b/shared/mga.h
index 5380cb0d..49530442 100644
--- a/shared/mga.h
+++ b/shared/mga.h
@@ -45,11 +45,11 @@
#define DRIVER_NAME "mga"
#define DRIVER_DESC "Matrox G200/G400"
-#define DRIVER_DATE "20010321"
+#define DRIVER_DATE "20021029"
#define DRIVER_MAJOR 3
-#define DRIVER_MINOR 0
-#define DRIVER_PATCHLEVEL 2
+#define DRIVER_MINOR 1
+#define DRIVER_PATCHLEVEL 0
#define DRIVER_IOCTLS \
[DRM_IOCTL_NR(DRM_IOCTL_DMA)] = { mga_dma_buffers, 1, 0 }, \
@@ -61,7 +61,8 @@
[DRM_IOCTL_NR(DRM_IOCTL_MGA_VERTEX)] = { mga_dma_vertex, 1, 0 }, \
[DRM_IOCTL_NR(DRM_IOCTL_MGA_INDICES)] = { mga_dma_indices, 1, 0 }, \
[DRM_IOCTL_NR(DRM_IOCTL_MGA_ILOAD)] = { mga_dma_iload, 1, 0 }, \
- [DRM_IOCTL_NR(DRM_IOCTL_MGA_BLIT)] = { mga_dma_blit, 1, 0 },
+ [DRM_IOCTL_NR(DRM_IOCTL_MGA_BLIT)] = { mga_dma_blit, 1, 0 }, \
+ [DRM_IOCTL_NR(DRM_IOCTL_MGA_GETPARAM)]= { mga_getparam, 1, 0 },
#define __HAVE_COUNTERS 3
#define __HAVE_COUNTER6 _DRM_STAT_IRQ
@@ -77,6 +78,9 @@
/* DMA customization:
*/
#define __HAVE_DMA 1
+#define __HAVE_DMA_IRQ 1
+#define __HAVE_VBL_IRQ 1
+#define __HAVE_SHARED_IRQ 1
#define __HAVE_DMA_QUIESCENT 1
#define DRIVER_DMA_QUIESCENT() do { \