summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.com>2007-08-07 00:43:20 -0400
committerAlex Deucher <alex@botch2.com>2007-08-07 00:43:20 -0400
commita88a0e77eec514325b4d07bf7be9fb04e6f8e244 (patch)
tree6e38dcdc611f38dce3a8090fbc1e61c8382133b9
parent3752808d6c08a9727370ef8d79088e787791e131 (diff)
RADEON: minor fix to legacy bios connector table
-rw-r--r--src/radeon_bios.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/radeon_bios.c b/src/radeon_bios.c
index 696fee42..9e167b57 100644
--- a/src/radeon_bios.c
+++ b/src/radeon_bios.c
@@ -239,11 +239,8 @@ static Bool RADEONGetLegacyConnectorInfoFromBIOS (ScrnInfoPtr pScrn)
tmp = RADEON_BIOS16(entry);
info->BiosConnector[i].ConnectorType = (tmp >> 12) & 0xf;
info->BiosConnector[i].DDCType = (tmp >> 8) & 0xf;
- info->BiosConnector[i].DACType = tmp & 0x3;
- if (tmp & 0x10)
- info->BiosConnector[i].TMDSType = TMDS_EXT;
- else
- info->BiosConnector[i].TMDSType = TMDS_INT;
+ info->BiosConnector[i].DACType = tmp & 0x1;
+ info->BiosConnector[i].TMDSType = tmp & 0x10;
}
} else {