]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: don't disable the DP port if the link is lost
authorImre Deak <imre.deak@intel.com>
Thu, 16 Jan 2014 16:35:57 +0000 (18:35 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 22 Jan 2014 09:34:39 +0000 (10:34 +0100)
commit014029f7d1f9d66280b367db107bf7b71bb7df65
tree059b3c0164583b5b5f765303acc9a5fb113c492c
parentdb36e90b46c2688ae8250dc106a5605e9ff66736
drm/i915: don't disable the DP port if the link is lost

Currently if the DP link is lost (either because of a hot unplug, or
failed link status check) we disable the DP port, but leave the rest
of the pipe running. This is incompatible with the modeset disabling
sequence of some platforms/configurations. At least this is the case for
DP ports on the CPU as opposed to PCH.

Atm we'll also get a warning when we do a modeset disable after the
above link lost event, since we expect the DP port to be enabled at this
point (see the bugzilla ticket for the related dmesg).

Note that with this patch we'll still end up disabling the port, thanks
to the HPD uevent and subsequent modeset disable.

See also the next patch fixing the other half of this issue.

Solution suggested by Ville.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70570
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c