summaryrefslogtreecommitdiff
path: root/src/r128_probe.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/r128_probe.h')
-rw-r--r--src/r128_probe.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/r128_probe.h b/src/r128_probe.h
index 99508fb3..f370c000 100644
--- a/src/r128_probe.h
+++ b/src/r128_probe.h
@@ -39,6 +39,21 @@
#include "xf86str.h"
+typedef struct
+{
+ Bool IsDRIEnabled;
+
+ Bool HasSecondary;
+ Bool BypassSecondary;
+ /*These two registers are used to make sure the CRTC2 is
+ retored before CRTC_EXT, otherwise it could lead to blank screen.*/
+ Bool IsSecondaryRestored;
+ Bool RestorePrimary;
+
+ ScrnInfoPtr pSecondaryScrn;
+ ScrnInfoPtr pPrimaryScrn;
+} R128EntRec, *R128EntPtr;
+
/* r128_probe.c */
extern const OptionInfoRec * R128AvailableOptions(int, int);
extern void R128Identify(int);