summaryrefslogtreecommitdiff
path: root/src/radeon_bios.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_bios.c')
-rw-r--r--src/radeon_bios.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/radeon_bios.c b/src/radeon_bios.c
index 1d4c9bbb..fa316a66 100644
--- a/src/radeon_bios.c
+++ b/src/radeon_bios.c
@@ -286,6 +286,11 @@ Bool RADEONGetConnectorInfoFromBIOS (ScrnInfoPtr pScrn)
else connector_found = 3;
}
+ /* some bioses seem to list the LVDS port as DVI hack around that here */
+ if (pRADEONEnt->PortInfo[0]->ConnectorType == CONNECTOR_DVI_D) {
+ pRADEONEnt->PortInfo[0]->ConnectorType = CONNECTOR_PROPRIETARY;
+ }
+
if ((tmp = RADEON_BIOS16(info->ROMHeaderStart + 0x42))) {
if ((tmp0 = RADEON_BIOS16(tmp + 0x15))) {
if ((tmp1 = RADEON_BIOS8(tmp0+2) & 0x07)) {