]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/i915: Restrict hsw_dp_set_ddi_pll_sel() to HSW/BDW
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 29 Jul 2014 17:06:20 +0000 (18:06 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 Aug 2014 15:43:36 +0000 (17:43 +0200)
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>
drivers/gpu/drm/i915/intel_dp.c

index 0aa219dff19ce76e4de528736f1f4c0ad39d6728..16fcfc67f014809d5fd78d0761e79bf17180592b 100644 (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);