diff options
author | Eric Anholt <eric@anholt.net> | 2009-03-09 20:06:30 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-03-11 15:49:02 -0700 |
commit | 419499d622ba10177b760da5324f0507ac146e9a (patch) | |
tree | 0b6e7a636bb0f42170383bda06301366ad302e92 /src | |
parent | 1d19b024dba970e4b24daccb898101f77d5529ff (diff) |
Fix XV with non-GEM kernels by allocating a larger fake bufmgr.
Ideally we'd not be using the EXA offscreen memory manager and just hand all
that memory to the fake bufmgr for non-GEM, but the fake bufmgr's too slow for
that, at least currently. So compromise and take enough memory that it will
succeed at XV allocations but hopefully not anger tiny-aperture systems too
much.
Bug #20563.
(cherry picked from commit fb6e00f40f713a87c760fc7603159ed11ea9b0d5)
Diffstat (limited to 'src')
-rw-r--r-- | src/i830_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c index 361fff71..e98c914b 100644 --- a/src/i830_memory.c +++ b/src/i830_memory.c @@ -1445,7 +1445,7 @@ i830_allocate_2d_memory(ScrnInfoPtr pScrn) if (pI830->memory_manager == NULL) { pI830->fake_bufmgr_mem = i830_allocate_memory(pScrn, "fake bufmgr", - MB(1), PITCH_NONE, GTT_PAGE_SIZE, 0, + MB(8), PITCH_NONE, GTT_PAGE_SIZE, 0, TILE_NONE); if (pI830->fake_bufmgr_mem == NULL) { xf86DrvMsg(pScrn->scrnIndex, X_WARNING, |