]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Check DP link status on long hpd too
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 20 Aug 2015 16:37:29 +0000 (19:37 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 31 Aug 2015 15:16:43 +0000 (18:16 +0300)
commit9e98a6a39210b7ca83460b3eb55206d5148970e6
tree8d3c0279f0fbbf0866c14433efa9ea36e86339cf
parent199ca578ec27f415ce0ac29ad4acec4b3b126f8b
drm/i915: Check DP link status on long hpd too

We are no longer checkling the DP link status on long hpd. We used to do
that from the .hot_plug() handler, but it was removed when MST got
introduced.

If there's no userspace we now fail to retrain the link if the sink
power is toggled (or cable yanked and replugged), meaning the user is
left staring at a blank screen. With the retraining put back that should
be fixed.

Also remove the leftover comment that referred to the old retraining
from .hot_plug().

Fixes a regression introduced in:
commit 266e4ae46a17a5fd7ec05136807f7d72f6e8bb93
Author: Dave Airlie <airlied@redhat.com>
Date:   Fri May 2 14:02:48 2014 +1000

    drm/i915: add DP 1.2 MST support (v0.7)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89453
Tested-by: Palmer Dabbelt <palmer@dabbelt.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91407
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89461
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89594
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85641
Cc: Dave Airlie <airlied@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_dp.c