drm/i915: Restrict hsw_dp_set_ddi_pll_sel() to HSW/BDW

Future platform will use config->ddi_pll_sel in a different way.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Damien Lespiau 2014-07-29 18:06:20 +01:00 committed by Daniel Vetter
parent 143b307c43
commit ea155f32ce
1 changed files with 1 additions and 1 deletions

View File

@ -964,7 +964,7 @@ found:
&pipe_config->dp_m2_n2);
}
if (HAS_DDI(dev))
if (IS_HASWELL(dev) || IS_BROADWELL(dev))
hsw_dp_set_ddi_pll_sel(pipe_config, intel_dp->link_bw);
else
intel_dp_set_clock(encoder, pipe_config, intel_dp->link_bw);