xf86-video-ati: Branch 'master'

Alex Deucher agd5f at kemper.freedesktop.org
Mon Jan 11 12:15:04 PST 2010


 src/radeon_output.c |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

New commits:
commit 6a363f68415d37c302151581f2a86855dba39b67
Author: Alex Deucher <alexdeucher at gmail.com>
Date:   Mon Jan 11 15:13:45 2010 -0500

    rv100: fix typo in fix for bug 25992
    
    Noticed by Maarten Maathuis.

diff --git a/src/radeon_output.c b/src/radeon_output.c
index 153cedf..a16f7fc 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -543,12 +543,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;


More information about the xorg-commit mailing list