summaryrefslogtreecommitdiff
path: root/src/mga.h
diff options
context:
space:
mode:
authorAndy MacLean <andy-ub1@themacleans.org.uk>2013-10-17 19:51:36 +0200
committerTormod Volden <debian.tormod@gmail.com>2013-10-25 19:45:58 +0200
commit15815c8612694a89d0d8593b3e603fdcdeacdd05 (patch)
tree9c1d089ce772b3aa427a8e38ac92b236051a6f5a /src/mga.h
parent12af175fee1d3f6f17f8391ec642d904deca3783 (diff)
Unbreak dual head (xinerama)
This patch has been used in Debian, Ubuntu and Gentoo for years. https://bugs.freedesktop.org/show_bug.cgi?id=18472 https://launchpad.net/bugs/292214 https://bugs.gentoo.org/show_bug.cgi?id=265100 Signed-off-by: Andy MacLean <andy-ub1@themacleans.org.uk> Reviewed-by: Cyril Brulebois <kibi@debian.org> Reviewed-by: Robert Jacobs <robert.n.jacobs@gmail.com> Tested-by: Robert Jacobs <robert.n.jacobs@gmail.com>
Diffstat (limited to 'src/mga.h')
-rw-r--r--src/mga.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mga.h b/src/mga.h
index 0c5d71d..988ba93 100644
--- a/src/mga.h
+++ b/src/mga.h
@@ -343,6 +343,13 @@ typedef struct {
int mastervideoRam;
int slavevideoRam;
Bool directRenderingEnabled;
+
+ void * mappedIOBase;
+ int mappedIOUsage;
+
+ void * mappedILOADBase;
+ int mappedILOADUsage;
+
ScrnInfoPtr pScrn_1;
ScrnInfoPtr pScrn_2;
} MGAEntRec, *MGAEntPtr;