Commit 83f377ab authored by Daniel Vetter's avatar Daniel Vetter

drm/i915: gen2 has no tv out support

So ditch that if clause from the i8xx pll update code.
Reviewed-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 7d9bcebe
...@@ -4518,11 +4518,7 @@ static void i8xx_update_pll(struct drm_crtc *crtc, ...@@ -4518,11 +4518,7 @@ static void i8xx_update_pll(struct drm_crtc *crtc,
dpll |= PLL_P2_DIVIDE_BY_4; dpll |= PLL_P2_DIVIDE_BY_4;
} }
if (intel_pipe_has_type(crtc, INTEL_OUTPUT_TVOUT)) if (intel_pipe_has_type(crtc, INTEL_OUTPUT_LVDS) &&
/* XXX: just matching BIOS for now */
/* dpll |= PLL_REF_INPUT_TVCLKINBC; */
dpll |= 3;
else if (intel_pipe_has_type(crtc, INTEL_OUTPUT_LVDS) &&
intel_panel_use_ssc(dev_priv) && num_connectors < 2) intel_panel_use_ssc(dev_priv) && num_connectors < 2)
dpll |= PLLB_REF_INPUT_SPREADSPECTRUMIN; dpll |= PLLB_REF_INPUT_SPREADSPECTRUMIN;
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment