summaryrefslogtreecommitdiff
path: root/src/radeon_output.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-10-08 16:30:36 -0400
committerAlex Deucher <alexdeucher@gmail.com>2010-10-08 16:30:36 -0400
commitacf4024aa0ef192355b2bd8281507b1c2e6b7de4 (patch)
treeac0d29f6034cf2c8984f57547fcede0df5fcd3a1 /src/radeon_output.c
parent74fd2b91477106a26a2d9fb4b11c885910996041 (diff)
ATOM DDC fixes for UMS
- Header size was already subtraced from table size - Only hw capable ddc pads are shared with aux
Diffstat (limited to 'src/radeon_output.c')
-rw-r--r--src/radeon_output.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c
index 283d32f4..689a5924 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -1875,7 +1875,8 @@ RADEONI2CDoLock(xf86OutputPtr output, I2CBusPtr b, int lock_state)
}
/* set the pad in ddc mode */
- if (IS_DCE3_VARIANT) {
+ if (IS_DCE3_VARIANT &&
+ pRADEONI2CBus->hw_capable) {
temp = INREG(pRADEONI2CBus->mask_clk_reg);
temp &= ~(1 << 16);
OUTREG(pRADEONI2CBus->mask_clk_reg, temp);