diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2008-09-19 00:29:20 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2008-09-19 00:29:20 -0400 |
commit | 4af825f7b13cba8c3b204e72a07cab5009331240 (patch) | |
tree | c5d53677e36777a4f4f90756fe4b02614de3f270 | |
parent | 38aa450fce6a91b35c191fd07112490a62cc29c6 (diff) |
radeon: Add quirk for macbook
- should fix bug 17625
-rw-r--r-- | src/radeon_atombios.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/radeon_atombios.c b/src/radeon_atombios.c index f0a3a31b..e96bba36 100644 --- a/src/radeon_atombios.c +++ b/src/radeon_atombios.c @@ -1734,6 +1734,21 @@ static void RADEONApplyATOMQuirks(ScrnInfoPtr pScrn, int index) } } + /* Funky macbooks */ + if ((info->Chipset == PCI_CHIP_RV530_71C5) && + (PCI_SUB_VENDOR_ID(info->PciInfo) == 0x106b) && + (PCI_SUB_DEVICE_ID(info->PciInfo) == 0x0080)) { + if ((info->BiosConnector[index].ConnectorType == CONNECTOR_DVI_D) && + (info->BiosConnector[index].TMDSType == TMDS_EXT)) { + info->BiosConnector[index].valid = FALSE; + } + if ((info->BiosConnector[index].ConnectorType == CONNECTOR_DVI_D) && + (info->BiosConnector[index].DACType == DAC_NONE)) { + info->BiosConnector[index].DACType = DAC_TVDAC; + info->BiosConnector[index].devices |= (1 << ATOM_DEVICE_CRT2_INDEX); + } + } + } Bool |