File xf86-video-intel-G33-1mb.diff of Package xorg-x11-driver-video-intel-legacy

Index: xf86-video-intel-2.8.0/src/i830_driver.c
===================================================================
--- xf86-video-intel-2.8.0.orig/src/i830_driver.c
+++ xf86-video-intel-2.8.0/src/i830_driver.c
@@ -334,6 +334,8 @@ I830DetectMemory(ScrnInfoPtr pScrn)
    if (IS_I85X(pI830) || IS_I865G(pI830) || IS_I9XX(pI830)) {
       switch (gmch_ctrl & I855_GMCH_GMS_MASK) {
       case I855_GMCH_GMS_STOLEN_1M:
+	 if (IS_G33CLASS(pI830))
+		 range = 0;
 	 memsize = MB(1) - KB(range);
 	 break;
       case I855_GMCH_GMS_STOLEN_4M:
openSUSE Build Service is sponsored by