diff options
author | Wang Zhenyu <zhenyu.z.wang@intel.com> | 2006-11-29 15:47:19 +0800 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2007-01-06 14:37:29 -0800 |
commit | 1329c86f2a4b3664920ded970a984a745a530da4 (patch) | |
tree | c20309d61567db3c41ff5973d33fb86002b67e25 /src/i830_exa.c | |
parent | f9c3ef40100acb85fca6e49c5c0e98f5c9ac97ca (diff) |
[PATCH] EXA state mem for G965
Not split offscreen mem for exa, but alloc a dedicated one
for G965 states.
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
Diffstat (limited to 'src/i830_exa.c')
-rw-r--r-- | src/i830_exa.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/i830_exa.c b/src/i830_exa.c index c5b91b04..3e874c97 100644 --- a/src/i830_exa.c +++ b/src/i830_exa.c @@ -425,7 +425,6 @@ IntelEXADoneComposite(PixmapPtr pDst) #endif } -#define BRW_LINEAR_EXTRA (32*1024) /* * TODO: * - Dual head? @@ -448,11 +447,7 @@ I830EXAInit(ScreenPtr pScreen) pI830->EXADriverPtr->exa_minor = 0; pI830->EXADriverPtr->memoryBase = pI830->FbBase; pI830->EXADriverPtr->offScreenBase = pI830->Offscreen.Start; - if (IS_I965G(pI830)) - pI830->EXADriverPtr->memorySize = pI830->Offscreen.End - - BRW_LINEAR_EXTRA; /* BRW needs state buffer*/ - else - pI830->EXADriverPtr->memorySize = pI830->Offscreen.End; + pI830->EXADriverPtr->memorySize = pI830->Offscreen.End; DPRINTF(PFX, "EXA Mem: memoryBase 0x%x, end 0x%x, offscreen base 0x%x, memorySize 0x%x\n", pI830->EXADriverPtr->memoryBase, |