xf86-video-intel: src/i830_i2c.c

Keith Packard keithp at kemper.freedesktop.org
Sun Mar 18 05:22:03 EET 2007


 src/i830_i2c.c |    1 +
 1 files changed, 1 insertion(+)

New commits:
diff-tree d05bb5362e986c9d27bc03c7e1a939ba28824810 (from 44d1b544cec2e75735d2e27d66a9240317b962c2)
Author: Keith Packard <keithp at neko.keithp.com>
Date:   Sat Mar 17 20:21:59 2007 -0700

    Increase DDC I2C RiseFallTime to handle older monitors
    
    Changing this value slows the entire I2C bus down, making it far more
    reliable on older monitors. Note the same change has been made in the core X
    server code; this change is included here to ensure that older X servers
    work reliably with this driver.

diff --git a/src/i830_i2c.c b/src/i830_i2c.c
index 08ff522..da8f38e 100644
--- a/src/i830_i2c.c
+++ b/src/i830_i2c.c
@@ -377,6 +377,7 @@ I830I2CInit(ScrnInfoPtr pScrn, I2CBusPtr
     pI2CBus->StartTimeout = 550;
     pI2CBus->BitTimeout = 40;
     pI2CBus->AcknTimeout = 40;
+    pI2CBus->RiseFallTime = 20;
 
     if (!xf86I2CBusInit(pI2CBus))
 	return FALSE;



More information about the xorg-commit mailing list