diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-03-06 10:28:41 +0100 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-03-06 10:28:41 +0100 |
commit | 1e1b45fa6ed1683cba4ae73ac98933e74c3ab9d6 (patch) | |
tree | 93e5234b3f12276abbf7ce31d71ad69014a28362 /src/i830_driver.c | |
parent | 4042b27f01fdb94e7fc0d4e991e054fff88479ea (diff) |
Fix reduced DRI memory manager size.
pI830->mmSize is in kB.
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r-- | src/i830_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c index 0977511f..a27d8058 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -2346,7 +2346,7 @@ I830ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) /* For this allocation, switch to a smaller DRI memory manager * size. */ - pI830->mmSize = I830_MM_MINPAGES * GTT_PAGE_SIZE; + pI830->mmSize = I830_MM_MINPAGES * GTT_PAGE_SIZE / KB(1); } else { pI830->mmSize = savedMMSize; } |