diff options
author | Alex Deucher <alex@botch2.com> | 2007-08-07 23:16:05 -0400 |
---|---|---|
committer | Alex Deucher <alex@botch2.com> | 2007-08-07 23:16:05 -0400 |
commit | 08fe7ad00fba523775e95b5e6295fe23a5119d60 (patch) | |
tree | 3d5b13f85e40b472dbf4301e8259df012a3b393d | |
parent | f56b90a60393ed187c0e39e149b2a3a32331ea52 (diff) |
RADEON: fix ConnectorTable option after connector table re-work
We may want to add the possiblity of more connectors to this option
-rw-r--r-- | src/radeon_output.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c index 7a26d43c..440d39f9 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) || |