xf86-video-intel: src/i830_driver.c

Zhenyu Wang zhen at kemper.freedesktop.org
Wed Oct 10 19:12:27 PDT 2007


 src/i830_driver.c |    3 ---
 1 file changed, 3 deletions(-)

New commits:
diff-tree 56ae767180da4a8bd4b7a4c35b92e019ab67d753 (from 5faee02e97b7543b41bb1f8e3751558c48802833)
Author: Zhenyu Wang <zhenyu.z.wang at intel.com>
Date:   Thu Oct 11 10:09:29 2007 +0800

    Revert "Fix G33 GTT stolen mem range"
    
    This reverts commit 2a8592f2ebcba86b1127aa889155d58a3dc186ca.
    
    This causes compat issue between ddx and kernel apggart version.
    Revert it as it shouldn't hurt normal people's default GTT size,
    but if you change it to 1MB in bios, it's supposed to be broken now.

diff --git a/src/i830_driver.c b/src/i830_driver.c
index 0d55609..ce84bce 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -481,9 +481,6 @@ I830DetectMemory(ScrnInfoPtr pScrn)
    range = gtt_size + 4;
 
    if (IS_I85X(pI830) || IS_I865G(pI830) || IS_I9XX(pI830)) {
-      /* G33 has seperate GTT stolen mem */
-      if (IS_G33CLASS(pI830))
-	  range = 0;
       switch (gmch_ctrl & I830_GMCH_GMS_MASK) {
       case I855_GMCH_GMS_STOLEN_1M:
 	 memsize = MB(1) - KB(range);


More information about the xorg-commit mailing list