drm/i915: Pass lane count to bxt_ddi_phy_calc_lane_optmin_mask()
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Thu, 6 Oct 2016 16:22:16 +0000 (19:22 +0300)
committerAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 28 Oct 2016 09:23:53 +0000 (12:23 +0300)
commitb284eedaf74bdbd262f71a7937ca78f45354173f
tree8cf6bffa77b8c6031561e026b3e57595f7568ef2
parent362624c9ba3f6bff2df6304068a45b355d4ab13b
drm/i915: Pass lane count to bxt_ddi_phy_calc_lane_optmin_mask()

Pass lane count to bxt_ddi_phy_calc_lane_optmin_mask() instead of having
it extract that number from a pipe_config to decouple the phy code from
intel_crtc_state.

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/a4977e0207e594953c4f9d1b5f2ef972a8679e74.1475770848.git-series.ander.conselvan.de.oliveira@intel.com
drivers/gpu/drm/i915/intel_ddi.c