diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2008-09-19 14:04:59 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2008-09-19 14:04:59 -0400 |
commit | d100a6af8f828eb94f8ba6e8a96c24389b5cf46f (patch) | |
tree | eda0cd313109d89d39087832662e96cab8d1edea /src | |
parent | 1218e38c75351a20f7414ba6fcb3545689339442 (diff) |
cleanup macbook quirk
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_atombios.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/radeon_atombios.c b/src/radeon_atombios.c index 1a83865d..b81d2cbd 100644 --- a/src/radeon_atombios.c +++ b/src/radeon_atombios.c @@ -1738,17 +1738,15 @@ static void RADEONApplyATOMQuirks(ScrnInfoPtr pScrn, int index) 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_I) && - (info->BiosConnector[index].TMDSType == TMDS_EXT)) { + if ((index == ATOM_DEVICE_CRT1_INDEX) || + (index == ATOM_DEVICE_CRT2_INDEX) || + (index == ATOM_DEVICE_DFP2_INDEX)) info->BiosConnector[index].valid = FALSE; - } - if ((info->BiosConnector[index].ConnectorType == CONNECTOR_DVI_I) && - (info->BiosConnector[index].DACType == DAC_NONE)) { + + if (index == ATOM_DEVICE_DFP1_INDEX) { info->BiosConnector[index].DACType = DAC_TVDAC; info->BiosConnector[index].devices |= (1 << ATOM_DEVICE_CRT2_INDEX); } - if (info->BiosConnector[index].ConnectorType == CONNECTOR_VGA) - info->BiosConnector[index].valid = FALSE; } } |