]> 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)
commitc752ad85611d730a31a53889bd7dda402ab5b46c
treed15f9594f940374eb1c7809f543255cc010b049a
parentaca9aaf75ebd7ccdde1164485e5829b80a4f275c
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