drm/i915: Precompute static ddi_pll_sel values in encoders
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 4 Jul 2014 14:26:04 +0000 (11:26 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Jul 2014 20:11:18 +0000 (22:11 +0200)
commit0e50338cf0f0009a5c9bc847a4c86a1d4438af66
treed7fec4572eee7e3ddc20b9a3bfe1934b4135d9f4
parent3fcf305b36a7be8bfc8f9e53b0498fbba7768da6
drm/i915: Precompute static ddi_pll_sel values in encoders

This way only the dynamic WRPLL selection for hdmi ddi mode is
done in intel_ddi_pll_select.

v2: Don't clobber the precomputed values when selecting clocks fro
hdmi encoders.
v3 (from Paulo): Rebase on top of the s/IS_HASWELL/HAS_DDI/ patch.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Paulo Zanoni <przanoni@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_crt.c
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_dp.c