summaryrefslogtreecommitdiff
path: root/src/radeon_output.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-01-11 15:13:45 -0500
committerAlex Deucher <alexdeucher@gmail.com>2010-01-11 15:15:28 -0500
commita89b7b880a464cbd416c1ad23663d07efb07c9af (patch)
tree4b774cacacc50720c09bbfd87987b215d2a346e3 /src/radeon_output.c
parent6065ca92763fef1a08185854fc07fb60259ca99e (diff)
rv100: fix typo in fix for bug 25992
Noticed by Maarten Maathuis.
Diffstat (limited to 'src/radeon_output.c')
-rw-r--r--src/radeon_output.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c
index 4ff34b48..741589fe 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -437,12 +437,14 @@ radeon_mode_valid(xf86OutputPtr output, DisplayModePtr pMode)
}
}
- /* single link DVI check */
- if (pMode->Clock > 165000 && radeon_output->MonType == MT_DFP) {
- /* clocks over 135 MHz have heat issues with DVI on RV100 */
- if ((info->ChipFamily == CHIP_FAMILY_RV100) && (pMode->Clock > 135000))
+ /* clocks over 135 MHz have heat issues with DVI on RV100 */
+ if ((radeon_output->MonType == MT_DFP) &&
+ (info->ChipFamily == CHIP_FAMILY_RV100) &&
+ (pMode->Clock > 135000))
return MODE_CLOCK_HIGH;
+ /* single link DVI check */
+ if (pMode->Clock > 165000 && radeon_output->MonType == MT_DFP) {
/* DP->DVI converter */
if (radeon_output->ConnectorType == CONNECTOR_DISPLAY_PORT)
return MODE_CLOCK_HIGH;