summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-04-21 12:06:24 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-05-08 12:06:51 -0400
commit3b1d26f649257a13d2e929a000f911cf8016d369 (patch)
tree90cee2e0c2479717c4f2ef8a5b41579144c5d8fb
parent3a7be25ef1b99b30581517ffad558d52226664c8 (diff)
RS690: add quirk for acer board
thanks to Gino Badouri for testing
-rw-r--r--src/radeon_atombios.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/radeon_atombios.c b/src/radeon_atombios.c
index 15921d64..b2332bbd 100644
--- a/src/radeon_atombios.c
+++ b/src/radeon_atombios.c
@@ -1534,6 +1534,20 @@ static void RADEONApplyATOMQuirks(ScrnInfoPtr pScrn, int index)
info->BiosConnector[index].ConnectorType = CONNECTOR_DVI_D;
}
}
+
+ /* Acer board, gpios for DFPs are not off by one */
+ if ((info->Chipset == PCI_CHIP_RS690_791E) &&
+ (PCI_SUB_VENDOR_ID(info->PciInfo) == 0x105b) &&
+ (PCI_SUB_DEVICE_ID(info->PciInfo) == 0x0e0b)) {
+ if (index == ATOM_DEVICE_DFP3_INDEX) {
+ info->BiosConnector[index].ConnectorType = CONNECTOR_DVI_I;
+ info->BiosConnector[index].output_id = 0;
+ info->BiosConnector[index].ddc_i2c = RADEONLookupGPIOLineForDDC(pScrn, 0);
+ }
+ if (index == ATOM_DEVICE_DFP2_INDEX)
+ info->BiosConnector[index].ddc_i2c = RADEONLookupGPIOLineForDDC(pScrn, 1);
+ }
+
/* a-bit f-i90hd - ciaranm on #radeonhd - this board has no DVI */
if ((info->Chipset == PCI_CHIP_RS600_7941) &&
(PCI_SUB_VENDOR_ID(info->PciInfo) == 0x147b) &&