drm/i915: Don't use link_bw for PLL setup
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 11 Aug 2015 17:21:46 +0000 (20:21 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Aug 2015 16:16:35 +0000 (18:16 +0200)
commit840b32b7eda7837db6e0236293f71fc6644dedf8
tree0250c26a068f404b3358d6b3e5341d7ea62fd43c
parent0f2a2a756e862e1936ef599451015ca4c12efde8
drm/i915: Don't use link_bw for PLL setup

Use port_clock instead of link_bw when picking the PLL parameters for
DP. link_bw may be zero with an eDP 1.4 sink that supports
DP_LINK_RATE_SET so we shouldn't use it for anything other than feed it
to the sink appropriately.

v2: Fix typo in commit message (Sivakumar)

Reviewed-by: Sivakumar Thulasimani <sivakumar.thulasimani@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_dp.c