diff options
author | Jordan Crouse <jordan.crouse@amd.com> | 2007-01-31 13:50:19 -0700 |
---|---|---|
committer | Jordan Crouse <jordan.crouse@amd.com> | 2007-01-31 13:50:49 -0700 |
commit | d2f53b7c576c91f07f55b62b0020be1d0ab358dc (patch) | |
tree | 0627639c43baa33487556cc1f796e5d2f64f61ce | |
parent | 610e65d49c3060b9512be785ab78de0824583155 (diff) |
Fix an unfortunate segfault when NoAccel is selected
-rw-r--r-- | src/amd_gx_driver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd_gx_driver.c b/src/amd_gx_driver.c index 2f2c1ba..3226e52 100644 --- a/src/amd_gx_driver.c +++ b/src/amd_gx_driver.c @@ -444,7 +444,8 @@ GXMapMem(ScrnInfoPtr pScrni) (!gfx_virt_vidptr) || (!gfx_virt_fbptr)) return FALSE; - pGeode->pExa->memoryBase = pGeode->FBBase; + if (!pGeode->NoAccel && pGeode->useEXA) + pGeode->pExa->memoryBase = pGeode->FBBase; xf86DrvMsg(index, X_INFO, "Found Geode %lx %p\n", pGeode->FBAvail, pGeode->FBBase); |