From: Damien Lespiau Date: Tue, 29 Jul 2014 17:06:20 +0000 (+0100) Subject: drm/i915: Restrict hsw_dp_set_ddi_pll_sel() to HSW/BDW X-Git-Tag: v3.18-rc1~44^2~78^2~40 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ea155f32cea99f17371bec00ee9c8e3713a15d4f;p=karo-tx-linux.git 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 Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 0aa219dff19c..16fcfc67f014 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -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);