xf86-video-intel: Branch 'modesetting' - src/i830.h

Eric Anholt anholt at kemper.freedesktop.org
Wed Nov 1 01:00:49 EET 2006


 src/i830.h |    8 ++++++++
 1 files changed, 8 insertions(+)

New commits:
diff-tree cc3728be2481637dda321d3bc2e4e89a220699cd (from a71f283650e8cb7b760e5a53c4db79202c4cc5c4)
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Oct 31 15:00:36 2006 -0800

    Add compat definitions for M_T_PREFERRED and M_T_DRIVER for older X Servers.

diff --git a/src/i830.h b/src/i830.h
index b962e88..27a9817 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -724,4 +724,12 @@ void i830_tv_init(ScrnInfoPtr pScrn);
 #define _845_DRAM_RW_CONTROL 0x90
 #define DRAM_WRITE    0x33330000
 
+/* Compat definitions for older X Servers. */
+#ifndef M_T_PREFERRED
+#define M_T_PREFERRED	0x08
+#endif
+#ifndef M_T_DRIVER
+#define M_T_DRIVER	0x40
+#endif
+
 #endif /* _I830_H_ */



More information about the xorg-commit mailing list