summaryrefslogtreecommitdiff
path: root/src/i830_memory.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-08-17 18:13:49 -0700
committerEric Anholt <eric@anholt.net>2007-08-17 18:13:49 -0700
commite443f83dd6f110156743c93f7d793cdddb8195a1 (patch)
tree8818b98983845522c493b20c09c25b77313b656e /src/i830_memory.c
parentbd874b11bbfe582aebd3115771f90807e75afc31 (diff)
Tune acceleration architecture allocator sizes down.
Diffstat (limited to 'src/i830_memory.c')
-rw-r--r--src/i830_memory.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c
index 99315db8..3da489de 100644
--- a/src/i830_memory.c
+++ b/src/i830_memory.c
@@ -849,7 +849,6 @@ i830_allocate_framebuffer(ScrnInfoPtr pScrn, I830Ptr pI830, BoxPtr FbMemBox,
int size;
size = 3 * pitch * pScrn->virtualY;
- size += 1920 * 1088 * 2 * 2;
size = ROUND_TO_PAGE(size);
cacheLines = (size + pitch - 1) / pitch;
@@ -1140,14 +1139,13 @@ i830_allocate_2d_memory(ScrnInfoPtr pScrn)
if (pI830->useEXA) {
if (pI830->exa_offscreen == NULL) {
/* Default EXA to having 3 screens worth of offscreen memory space
- * (for pixmaps), plus a double-buffered, 1920x1088 video's worth.
+ * (for pixmaps).
*
* XXX: It would be nice to auto-size it larger if the user
* specified a larger size, or to fit along with texture and FB
* memory if a low videoRam is specified.
*/
size = 3 * pitch * pScrn->virtualY;
- size += 1920 * 1088 * 2 * 2;
size = ROUND_TO_PAGE(size);
pI830->exa_offscreen = i830_allocate_memory(pScrn, "exa offscreen",