drm/i915: tune down the fast link training vs boot fail
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 13 Dec 2016 19:54:14 +0000 (20:54 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 13 Dec 2016 22:36:29 +0000 (23:36 +0100)
It's been unfixed since a while and no one is immediately working on
this. And we have the FIXME already. And now also a task in the DP
team's backlog.

Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: stable@vger.kernel.org
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
References: https://lists.freedesktop.org/archives/intel-gfx/2016-July/101951.html
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
[danvet: Adjust comment per Ville's feedback.]
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161213195414.28923-1-daniel.vetter@ffwll.ch
drivers/gpu/drm/i915/intel_dp.c

index 6c05a2b38cc79b8c74caf3dd18fcbd425379cb0b..45ebc9632633ebd28dd9cfeb1347c7266207c546 100644 (file)
@@ -4052,8 +4052,8 @@ intel_dp_check_link_status(struct intel_dp *intel_dp)
                return;
 
        /* FIXME: we need to synchronize this sort of stuff with hardware
-        * readout */
-       if (WARN_ON_ONCE(!intel_dp->lane_count))
+        * readout. Currently fast link training doesn't work on boot-up. */
+       if (!intel_dp->lane_count)
                return;
 
        /* if link training is requested we should perform it always */