diff options
author | Keith Packard <keithp@neko.keithp.com> | 2007-03-17 20:21:59 -0700 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2007-03-17 20:21:59 -0700 |
commit | d05bb5362e986c9d27bc03c7e1a939ba28824810 (patch) | |
tree | 23f500d9667faa6b6f1dbe19edcc17f24d6ea436 /src/i830_i2c.c | |
parent | 44d1b544cec2e75735d2e27d66a9240317b962c2 (diff) |
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.
Diffstat (limited to 'src/i830_i2c.c')
-rw-r--r-- | src/i830_i2c.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_i2c.c b/src/i830_i2c.c index 08ff522e..da8f38e6 100644 --- a/src/i830_i2c.c +++ b/src/i830_i2c.c @@ -377,6 +377,7 @@ I830I2CInit(ScrnInfoPtr pScrn, I2CBusPtr *bus_ptr, int i2c_reg, char *name) pI2CBus->StartTimeout = 550; pI2CBus->BitTimeout = 40; pI2CBus->AcknTimeout = 40; + pI2CBus->RiseFallTime = 20; if (!xf86I2CBusInit(pI2CBus)) return FALSE; |