summaryrefslogtreecommitdiff
path: root/src/radeon_bios.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2008-07-28 11:09:10 -0400
committerAlex Deucher <alexdeucher@gmail.com>2008-07-28 11:09:10 -0400
commitd5799ac53c3e1b2ca1da97780b171a44060c3aad (patch)
tree5b697a1fa252b6316cf0ba8f020b49550f912e82 /src/radeon_bios.c
parent64dbadddcf6d069c0472f37afeab89d3e31e937d (diff)
Add quirk for oem x300 card
- debian bug 492457
Diffstat (limited to 'src/radeon_bios.c')
-rw-r--r--src/radeon_bios.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/radeon_bios.c b/src/radeon_bios.c
index 35e6960f..adedeb3d 100644
--- a/src/radeon_bios.c
+++ b/src/radeon_bios.c
@@ -481,6 +481,16 @@ static void RADEONApplyLegacyQuirks(ScrnInfoPtr pScrn, int index)
}
}
+ /* X300 card with extra non-existent DVI port */
+ if (info->Chipset == PCI_CHIP_RV370_5B60 &&
+ PCI_SUB_VENDOR_ID(info->PciInfo) == 0x17af &&
+ PCI_SUB_DEVICE_ID(info->PciInfo) == 0x201e &&
+ index == 2) {
+ if (info->BiosConnector[index].ConnectorType == CONNECTOR_DVI_I) {
+ info->BiosConnector[index].valid = FALSE;
+ }
+ }
+
}
static Bool RADEONGetLegacyConnectorInfoFromBIOS (ScrnInfoPtr pScrn)