xf86-video-intel: src/i830_display.c

Zhenyu Wang zhen at kemper.freedesktop.org
Tue Feb 17 19:09:04 PST 2009


 src/i830_display.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 62ca1c479825ffa0e9cf444b4e25080150faa45b
Author: Zhenyu Wang <zhenyu.z.wang at intel.com>
Date:   Wed Feb 18 10:49:00 2009 +0800

    Fix SDVO mulitiplier setting for 945G
    
    Wrong SDVO multiplier setup has been slipped
    in SDVO TV patch. Thanks Michael Fu to point this out!

diff --git a/src/i830_display.c b/src/i830_display.c
index 8a5cf24..16908c6 100644
--- a/src/i830_display.c
+++ b/src/i830_display.c
@@ -1337,7 +1337,7 @@ i830_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
 	    dpll |= DPLL_DVO_HIGH_SPEED;
 	    if ((IS_I945G(pI830) || IS_I945GM(pI830) || IS_G33CLASS(pI830)))
 	    {
-		int sdvo_pixel_multiply = i830_sdvo_get_pixel_multiplier (adjusted_mode);
+		int sdvo_pixel_multiply = adjusted_mode->Clock / mode->Clock;
 		dpll |= (sdvo_pixel_multiply - 1) << SDVO_MULTIPLIER_SHIFT_HIRES;
 	    }
 	}


More information about the xorg-commit mailing list