From: Daniel Vetter Date: Thu, 21 Feb 2013 23:53:05 +0000 (+0100) Subject: drm/i915: gen2 has no tv out support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=83f377abed03e46eb3b6ce14a91291e7cdf86647;p=openwrt%2Fstaging%2Fblogic.git drm/i915: gen2 has no tv out support So ditch that if clause from the i8xx pll update code. Reviewed-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 9b0cd866fb6b..878e1e3e0667 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -4518,11 +4518,7 @@ static void i8xx_update_pll(struct drm_crtc *crtc, dpll |= PLL_P2_DIVIDE_BY_4; } - if (intel_pipe_has_type(crtc, INTEL_OUTPUT_TVOUT)) - /* XXX: just matching BIOS for now */ - /* dpll |= PLL_REF_INPUT_TVCLKINBC; */ - dpll |= 3; - else if (intel_pipe_has_type(crtc, INTEL_OUTPUT_LVDS) && + if (intel_pipe_has_type(crtc, INTEL_OUTPUT_LVDS) && intel_panel_use_ssc(dev_priv) && num_connectors < 2) dpll |= PLLB_REF_INPUT_SPREADSPECTRUMIN; else