summaryrefslogtreecommitdiff
path: root/src/amd_gx_driver.c
diff options
context:
space:
mode:
authorJordan Crouse <jordan.crouse@amd.com>2007-01-15 22:03:00 -0700
committerJordan Crouse <jordan.crouse@amd.com>2007-01-15 22:03:23 -0700
commit610e65d49c3060b9512be785ab78de0824583155 (patch)
tree4956c9b8bdb4799d76985c12ac8de75d85ea19b3 /src/amd_gx_driver.c
parent7f3e76af1675dc071769cdd68fa0ae4f1290b7b4 (diff)
Fixed broken EXA - things actually move faster now.
Diffstat (limited to 'src/amd_gx_driver.c')
-rw-r--r--src/amd_gx_driver.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/amd_gx_driver.c b/src/amd_gx_driver.c
index 7e49ad7..2f2c1ba 100644
--- a/src/amd_gx_driver.c
+++ b/src/amd_gx_driver.c
@@ -444,6 +444,8 @@ GXMapMem(ScrnInfoPtr pScrni)
(!gfx_virt_vidptr) || (!gfx_virt_fbptr))
return FALSE;
+ pGeode->pExa->memoryBase = pGeode->FBBase;
+
xf86DrvMsg(index, X_INFO, "Found Geode %lx %p\n",
pGeode->FBAvail, pGeode->FBBase);
@@ -1311,7 +1313,8 @@ GXScreenInit(int scrnIndex, ScreenPtr pScrn, int argc, char **argv)
} else {
ExaDriverPtr pExa = pGeode->pExa;
- pExa->memoryBase = pGeode->FBBase;
+ /* THis is set in GXAllocMem */
+ pExa->memoryBase = 0;
/* This is set in GXAllocateMemory */
pExa->memorySize = 0;