diff options
author | Eric Anholt <eric@anholt.net> | 2009-03-09 20:06:30 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-03-09 20:06:30 -0700 |
commit | fb6e00f40f713a87c760fc7603159ed11ea9b0d5 (patch) | |
tree | 7251eee7580067ce1f123720ba17f8192f652ad0 | |
parent | dc12c4b3eb297b2f225409eacf1f3cd521453ab6 (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.
-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, |