diff options
author | Graeme Gregory <dp@xora.org.uk> | 2009-01-04 16:17:40 +0000 |
---|---|---|
committer | Graeme Gregory <dp@xora.org.uk> | 2009-01-04 16:17:40 +0000 |
commit | db3d4cdd8dc6f38441149c53049cd1a9ac687b5c (patch) | |
tree | c2e0450c33e54d5b1b2861b850ece8b5fa5e9109 /src/glamo-driver.c | |
parent | 3010eb2b86156f27f6772d88c242593b77a7fce5 (diff) |
glamo* : sort out initialisation order for exa/CMDQ
Diffstat (limited to 'src/glamo-driver.c')
-rw-r--r-- | src/glamo-driver.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/glamo-driver.c b/src/glamo-driver.c index dc3d9db..41727c4 100644 --- a/src/glamo-driver.c +++ b/src/glamo-driver.c @@ -732,6 +732,12 @@ GlamoScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) /* map in the registers */ fPtr->reg_base = xf86MapVidMem(pScreen->myNum, VIDMEM_MMIO, 0x8000000, 0x2400); + fPtr->pScreen = pScreen; + + /*fPtr->cmd_queue_cache = GLAMOCreateCMDQCache(fPtr);*/ + + /*GLAMOCMDQCacheSetup(fPtr);*/ + xf86LoadSubModule(pScrn, "exa"); xf86LoaderReqSymLists(exaSymbols, NULL); @@ -741,6 +747,8 @@ GlamoScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) return FALSE; } + GLAMOCMDQCacheSetup(fPtr); + xf86SetBlackWhitePixels(pScreen); miInitializeBackingStore(pScreen); xf86SetBackingStore(pScreen); |