xf86-video-intel: src/i830_driver.c

Michel Daenzer daenzer at kemper.freedesktop.org
Tue Mar 6 11:29:39 EET 2007


 src/i830_driver.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 1e1b45fa6ed1683cba4ae73ac98933e74c3ab9d6 (from 4042b27f01fdb94e7fc0d4e991e054fff88479ea)
Author: Michel Dänzer <michel at tungstengraphics.com>
Date:   Tue Mar 6 10:28:41 2007 +0100

    Fix reduced DRI memory manager size.
    
    pI830->mmSize is in kB.

diff --git a/src/i830_driver.c b/src/i830_driver.c
index 0977511..a27d805 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -2346,7 +2346,7 @@ I830ScreenInit(int scrnIndex, ScreenPtr 
 	    /* 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;
 	 }



More information about the xorg-commit mailing list