Hi, the patch below fixes the flickering LCD problem for notebooks with i815 chip like the ASUS M1300. it works fine with both 4.1.0 and 4.1.99.1.
thanks to Poul-Henning Kamp <[EMAIL PROTECTED]> for suggesting this fix and to http://www.koch-computer.de/ for providing such a notbook for testing! ------------------------------------------------------------------------------- --- i810_driver.c.orig Mon Oct 1 15:24:07 2001 +++ xc/programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c Fri Sep 21 18:49:45 +2001 @@ -1006,10 +1006,17 @@ { vgaHWPtr hwp; I810Ptr pI810; + unsigned temp; hwp = VGAHWPTR(pScrn); pI810 = I810PTR(pScrn); DoSave(pScrn, &hwp->SavedReg, &pI810->SavedReg, TRUE); + + I810PrintErrorState(pScrn); + temp = INREG(MEMMODE); + temp |= 4; + OUTREG(MEMMODE, temp); + I810PrintErrorState(pScrn); } ------------------------------------------------------------------------------- Harald -- All X servers will from now on ___ _____ be required to have an 0--,| /OOOOOOO\ Magic Coffee for Micha�s Cookie <_/ / /OOOOOOOOOOO\ \ \/OOOOOOOOOOOOOOO\ \ OOOOOOOOOOOOOOOOO|// Harald Koenig \/\/\/\/\/\/\/\/\/ science+computing ag // / \\ \ [EMAIL PROTECTED] ^^^^^ ^^^^^ _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
