summaryrefslogtreecommitdiff
path: root/src/glamo-driver.c
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2009-01-03 17:18:40 +0000
committerGraeme Gregory <dp@xora.org.uk>2009-01-03 17:18:40 +0000
commit3010eb2b86156f27f6772d88c242593b77a7fce5 (patch)
treef63f57c0c23b84f5860775b319b8472de4730d47 /src/glamo-driver.c
parent5e5eb41642e041060310a4c7c1eca46f26cdd9ec (diff)
glamo-driver.c : map the registers in
Diffstat (limited to 'src/glamo-driver.c')
-rw-r--r--src/glamo-driver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glamo-driver.c b/src/glamo-driver.c
index ef46844..dc3d9db 100644
--- a/src/glamo-driver.c
+++ b/src/glamo-driver.c
@@ -729,6 +729,9 @@ GlamoScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
"bits per pixel\n");
}
+ /* map in the registers */
+ fPtr->reg_base = xf86MapVidMem(pScreen->myNum, VIDMEM_MMIO, 0x8000000, 0x2400);
+
xf86LoadSubModule(pScrn, "exa");
xf86LoaderReqSymLists(exaSymbols, NULL);