drm/i915: Move intel_dp->lane_count into pipe_config
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 6 Jul 2015 13:39:15 +0000 (16:39 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Aug 2015 16:16:37 +0000 (18:16 +0200)
commit90a6b7b052b1aa17fbb98b049e9c8b7f729c35a7
treed15f9594f940374eb1c7809f543255cc010b049a
parentb81e34c29e67f5b3e5ce28b5055ae2ca59c36f7b
drm/i915: Move intel_dp->lane_count into pipe_config

Currently we clobber intel_dp->lane_count in compute config, which means
after a rejected modeset we may no longer be able to retrain the current
link. Move lane_count into pipe_config to avoid that.

v2: Add missing ':' to the pipe config debug dump

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