diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-05-03 18:52:00 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-05-03 19:10:40 -0400 |
commit | 3362381aa3a97c1da564f8a479ed4e7b0d6368b8 (patch) | |
tree | fb3565ca706a3de50098f039c6b1b09b428a26c6 /src/radeon_output.c | |
parent | e01b8dc827ce1913927e1a4fad05a99a2dd9e805 (diff) |
r2xx-r4xx: fix typo in last i2c fix and clarify hw i2c pin sel
Diffstat (limited to 'src/radeon_output.c')
-rw-r--r-- | src/radeon_output.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c index 634fd65c..e453cc24 100644 --- a/src/radeon_output.c +++ b/src/radeon_output.c @@ -1667,12 +1667,12 @@ RADEONI2CDoLock(xf86OutputPtr output, I2CBusPtr b, int lock_state) * holds the i2c port in a bad state - switch hw i2c away before * doing DDC - do this for all r200s/r300s for safety sakes */ if ((info->ChipFamily >= CHIP_FAMILY_R200) && (!IS_AVIVO_VARIANT)) { - if (pRADEONI2CBus->mask_clk_reg == RADEON_GPIO_CRT2_DDC) + if (pRADEONI2CBus->mask_clk_reg == RADEON_GPIO_MONID) OUTREG(RADEON_DVI_I2C_CNTL_0, (RADEON_I2C_SOFT_RST | - R200_DVI_I2C_PIN_SEL(R200_SEL_DVI_DDC))); + R200_DVI_I2C_PIN_SEL(R200_SEL_DDC1))); else OUTREG(RADEON_DVI_I2C_CNTL_0, (RADEON_I2C_SOFT_RST | - R200_DVI_I2C_PIN_SEL(R200_SEL_CRT2_DDC))); + R200_DVI_I2C_PIN_SEL(R200_SEL_DDC3))); } temp = INREG(pRADEONI2CBus->a_clk_reg); |