summaryrefslogtreecommitdiff
path: root/src/radeon_atombios.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-04-16 11:58:19 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-04-16 11:58:19 -0400
commitc0215d2f2a27755fb04d20aaa4320a5e7da7ee04 (patch)
tree93e9bec368575fbef930de0e2d08297382d92d65 /src/radeon_atombios.c
parent573339114660f06e5f257648ba413bab0d6083ce (diff)
RS690/RS740: fix connector enumeration in some cases
Should fix Masta-G's issue reported on IRC.
Diffstat (limited to 'src/radeon_atombios.c')
-rw-r--r--src/radeon_atombios.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/radeon_atombios.c b/src/radeon_atombios.c
index e2348a43..2aa59116 100644
--- a/src/radeon_atombios.c
+++ b/src/radeon_atombios.c
@@ -2294,10 +2294,11 @@ RADEONGetATOMConnectorInfoFromBIOSConnectorTable (ScrnInfoPtr pScrn)
else if ((info->ChipFamily == CHIP_FAMILY_RS690) ||
(info->ChipFamily == CHIP_FAMILY_RS740)) {
/* IGP DFP ports use non-standard gpio entries */
- if ((i == ATOM_DEVICE_DFP2_INDEX) || (i == ATOM_DEVICE_DFP3_INDEX))
+ if ((i == ATOM_DEVICE_DFP2_INDEX) || (i == ATOM_DEVICE_DFP3_INDEX)) {
info->BiosConnector[i].ddc_i2c =
RADEONLookupGPIOLineForDDC(pScrn, ci.sucI2cId.sbfAccess.bfI2C_LineMux + 1);
- else
+ info->BiosConnector[i].output_id = ci.sucI2cId.sbfAccess.bfI2C_LineMux + 1;
+ } else
info->BiosConnector[i].ddc_i2c =
RADEONLookupGPIOLineForDDC(pScrn, ci.sucI2cId.sbfAccess.bfI2C_LineMux);
} else