]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1e81c228c9a82d715fca12633c1dc1081f3f068d
treed15f9594f940374eb1c7809f543255cc010b049a
parent8dd6f593e54cce700df95ddcb3ad5e4b0dd8ff8e
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