summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-04-17 10:30:21 +1000
committerAlex Deucher <alexdeucher@gmail.com>2009-05-08 12:05:50 -0400
commit4b042f0c0f0389529b736dccd9646a97b5297a7a (patch)
tree1c404c1583e72f33bd96c7f9220cefcfa0ae74ec
parent1ea41d7f4834037c0d16b1091f8e8e8c126f406a (diff)
radeon: tweak ddc fix for all r300s.
Alex seems to think this might affect some other chips
-rw-r--r--src/radeon_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c
index c6ae2ae6..e545c79c 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -222,8 +222,8 @@ radeon_ddc_connected(xf86OutputPtr output)
if (radeon_output->pI2CBus) {
/* RV410 appears to have a bug where the hw i2c in reset
* holds the i2c port in a bad state - switch hw i2c away before
- * doing DDC */
- if (info->ChipFamily == CHIP_FAMILY_RV410) {
+ * doing DDC - do this for all r300s for safety sakes */
+ if (IS_R300_VARIANT) {
if (radeon_output->ddc_i2c.mask_clk_reg == RADEON_GPIO_VGA_DDC)
OUTREG(RADEON_DVI_I2C_CNTL_0, 0x30);
else