summaryrefslogtreecommitdiff
path: root/src/radeon_output.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.com>2007-08-07 23:16:05 -0400
committerAlex Deucher <alex@botch2.com>2007-08-07 23:16:05 -0400
commit08fe7ad00fba523775e95b5e6295fe23a5119d60 (patch)
tree3d5b13f85e40b472dbf4301e8259df012a3b393d /src/radeon_output.c
parentf56b90a60393ed187c0e39e149b2a3a32331ea52 (diff)
RADEON: fix ConnectorTable option after connector table re-work
We may want to add the possiblity of more connectors to this option
Diffstat (limited to 'src/radeon_output.c')
-rw-r--r--src/radeon_output.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c
index 7a26d43..440d39f 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -1998,6 +1998,11 @@ Bool RADEONSetupConnectors(ScrnInfoPtr pScrn)
optstr = (char *)xf86GetOptValString(info->Options, OPTION_CONNECTORTABLE);
if (optstr) {
+ for (i = 2; i < RADEON_MAX_BIOS_CONNECTOR; i++) {
+ info->BiosConnector[i].valid = FALSE;
+ }
+ info->BiosConnector[0].valid = TRUE;
+ info->BiosConnector[1].valid = TRUE;
if (sscanf(optstr, "%u,%d,%d,%u,%u,%d,%d,%u",
&info->BiosConnector[0].DDCType,
&info->BiosConnector[0].DACType,
@@ -2012,7 +2017,7 @@ Bool RADEONSetupConnectors(ScrnInfoPtr pScrn)
}
}
- for (i = 0 ; i < RADEON_MAX_BIOS_CONNECTOR; i++) {
+ for (i = 0; i < RADEON_MAX_BIOS_CONNECTOR; i++) {
if (info->BiosConnector[i].valid) {
if (info->IsAtomBios) {
if ((info->BiosConnector[i].ConnectorType == CONNECTOR_DVI_D_ATOM) ||