Only write the DPLL MD reg for SDVO type Signed-off-by: Zhao Yakui --- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.31-rc3/drivers/gpu/drm/i915/intel_display.c =================================================================== --- linux-2.6.31-rc3.orig/drivers/gpu/drm/i915/intel_display.c 2009-07-14 15:46:42.000000000 +0800 +++ linux-2.6.31-rc3/drivers/gpu/drm/i915/intel_display.c 2009-07-15 10:17:47.000000000 +0800 @@ -2310,7 +2310,7 @@ /* Wait for the clocks to stabilize. */ udelay(150); - if (IS_I965G(dev) && !IS_IGDNG(dev)) { + if (IS_I965G(dev) && !IS_IGDNG(dev) && is_sdvo) { sdvo_pixel_multiply = adjusted_mode->clock / mode->clock; I915_WRITE(dpll_md_reg, (0 << DPLL_MD_UDI_DIVIDER_SHIFT) | ((sdvo_pixel_multiply - 1) << DPLL_MD_UDI_MULTIPLIER_SHIFT));