]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Report non-DP display as disconnected without EDID
authorHarry Wentland <harry.wentland@amd.com>
Wed, 1 Aug 2018 14:48:23 +0000 (10:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Aug 2018 15:14:09 +0000 (10:14 -0500)
commitbb33d29688ebe5ee5506b04b1e452d8f1c676629
tree939640d83ddd0af07956b149be33f6d537b8d672
parent31bd6f349bf0b98229f6bf55ddf6125f41360455
drm/amd/display: Report non-DP display as disconnected without EDID

[Why]
Some boards seem to have a problem where HPD is high on HDMI even though
no display is connected. We don't want to report these as connected. DP
spec still requires us to report DP displays as connected when HPD is
high but we can't read the EDID in order to go to fail-safe mode.

[How]
If connector_signal is not DP abort detection if we can't retrieve the
EDID.

v2: Add Bugzilla and stable

Bugzilla: https://bugs.freedesktop.org/107390
Bugzilla: https://bugs.freedesktop.org/106846
Cc: stable@vger.kernel.org
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c