diff options
author | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2009-02-18 10:49:00 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2009-02-18 10:49:00 +0800 |
commit | 62ca1c479825ffa0e9cf444b4e25080150faa45b (patch) | |
tree | 91966d61388ce646d2061a09d0bb03eacfd50cb2 | |
parent | 723b6065093adb56a2d7204bd990ceae41bfafc9 (diff) |
Fix SDVO mulitiplier setting for 945G
Wrong SDVO multiplier setup has been slipped
in SDVO TV patch. Thanks Michael Fu to point this out!
-rw-r--r-- | src/i830_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_display.c b/src/i830_display.c index 8a5cf246..16908c67 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; } } |