From 94d5a432f72801f821d1c4ce952baba17552659d Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 4 Jan 2008 17:16:54 +1000 Subject: atombios: i2c lines are all done with sw so we can accept any of them. hch reported this working on his laptop with 0x7e60 as EDID for LVDS --- src/radeon_atombios.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/radeon_atombios.c b/src/radeon_atombios.c index 7cf05567..73a185b4 100644 --- a/src/radeon_atombios.c +++ b/src/radeon_atombios.c @@ -1717,7 +1717,7 @@ RADEONGetATOMConnectorInfoFromBIOSConnectorTable (ScrnInfoPtr pScrn) info->BiosConnector[i].ConnectorType = ci.sucConnectorInfo.sbfAccess.bfConnectorType; info->BiosConnector[i].DACType = ci.sucConnectorInfo.sbfAccess.bfAssociatedDAC - 1; - if (ci.sucI2cId.sbfAccess.bfHW_Capable) { + if (ci.sucI2cId.sbfAccess.bfI2C_LineMux) { /* don't assign a gpio for tv */ if ((i == ATOM_DEVICE_TV1_INDEX) || (i == ATOM_DEVICE_TV2_INDEX) || @@ -1726,11 +1726,6 @@ RADEONGetATOMConnectorInfoFromBIOSConnectorTable (ScrnInfoPtr pScrn) else info->BiosConnector[i].ddc_line = RADEONLookupGPIOLineForDDC(pScrn, ci.sucI2cId.sbfAccess.bfI2C_LineMux); - } else if (ci.sucI2cId.sbfAccess.bfI2C_LineMux) { - /* add support for GPIO line */ - ErrorF("Unsupported SW GPIO - device %d: gpio line: 0x%x\n", - i, (unsigned int)RADEONLookupGPIOLineForDDC(pScrn, ci.sucI2cId.sbfAccess.bfI2C_LineMux)); - info->BiosConnector[i].ddc_line = 0; } else { info->BiosConnector[i].ddc_line = 0; } -- cgit v1.2.3