drm/i915: Re-apply "Perform link quality check, unconditionally during long pulse"
authorJan-Marek Glogowski <glogow@fbihome.de>
Sat, 25 Aug 2018 19:10:35 +0000 (15:10 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Sep 2019 06:21:46 +0000 (08:21 +0200)
commitc09d675f294b64c607ed87c946698836db2b9530
tree78817a28c64a4449bc409554e00a0f75e0d5af9d
parent3015291b2fb5aaa01a2ff15706f6c6e4f6c8f91f
drm/i915: Re-apply "Perform link quality check, unconditionally during long pulse"

[ Upstream commit 3cf71bc9904d7ee4a25a822c5dcb54c7804ea388 ]

This re-applies the workaround for "some DP sinks, [which] are a
little nuts" from commit 1a36147bb939 ("drm/i915: Perform link
quality check unconditionally during long pulse").
It makes the secondary AOC E2460P monitor connected via DP to an
acer Veriton N4640G usable again.

This hunk was dropped in commit c85d200e8321 ("drm/i915: Move SST
DP link retraining into the ->post_hotplug() hook")

Fixes: c85d200e8321 ("drm/i915: Move SST DP link retraining into the ->post_hotplug() hook")
[Cleaned up commit message, added stable cc]
Signed-off-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Jan-Marek Glogowski <glogow@fbihome.de>
Cc: stable@vger.kernel.org
Link: https://patchwork.freedesktop.org/patch/msgid/20180825191035.3945-1-lyude@redhat.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/i915/intel_dp.c