From 310eb24a45b145efbd47196a1c3ec750cf004154 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Mon, 4 Apr 2005 23:07:08 +0000 Subject: Release SDA/SDL I2C lines from an asserted-low state after a DDC probe, which caused Apple Studio Display monitors to shut off after a second or so (Ben Herrenschmidt). --- src/radeon_driver.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/radeon_driver.c') diff --git a/src/radeon_driver.c b/src/radeon_driver.c index f803b33f..3265aa83 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -1006,6 +1006,9 @@ static RADEONMonitorType RADEONDisplayDDCConnected(ScrnInfoPtr pScrn, RADEONDDCT MonType = MT_NONE; } + OUTREG(info->DDCReg, INREG(info->DDCReg) & + ~(RADEON_GPIO_EN_0 | RADEON_GPIO_EN_1)); + if (*MonInfo) { if ((*MonInfo)->rawData[0x14] & 0x80) { /* Note some laptops have a DVI output that uses internal TMDS, -- cgit v1.2.3