summaryrefslogtreecommitdiff
path: root/src/mga.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-06-15 20:06:43 +0000
committerIan Romanick <idr@us.ibm.com>2005-06-15 20:06:43 +0000
commita6e0ae358bdb26452444d916a956c07da7fe88f4 (patch)
tree10ef00eff37041962d67826fe5c2514320651b52 /src/mga.h
parentc2e50aad47ce32f528dad2abee8b7a8df363c93e (diff)
Adds support for MGA DRM version 3.2.
Update MGA DDX to use new features of MGA DRM ersion 3.2 to enable DRI support on PCI cards. Backwards compatability with older client-side drivers is enabled with new Device section settings. See mga.man for details. Xorg bug: 3259 Reviewed by: Eric Anholt
Diffstat (limited to 'src/mga.h')
-rw-r--r--src/mga.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mga.h b/src/mga.h
index bd04f76..93dff48 100644
--- a/src/mga.h
+++ b/src/mga.h
@@ -87,7 +87,9 @@ typedef enum {
OPTION_HSYNC2,
OPTION_VREFRESH2,
OPTION_MONITOR2POS,
- OPTION_METAMODES
+ OPTION_METAMODES,
+ OPTION_OLDDMA,
+ OPTION_PCIDMA
} MGAOpts;
@@ -417,6 +419,9 @@ typedef struct {
int irq;
CARD32 reg_ien;
+
+ Bool useOldDmaInit;
+ Bool forcePciDma;
#endif
XF86VideoAdaptorPtr adaptor;
Bool DualHeadEnabled;