]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: do not read link setting if edp not connected
authorEric Yang <Eric.Yang2@amd.com>
Sat, 29 Jun 2019 18:38:04 +0000 (14:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:17:20 +0000 (14:17 -0500)
commitfce575cad147cb08f9d16d75ccf97736a49bcf37
tree5d60a804c39d2472a90a3c0340d405a1cf858f91
parent5652e78da3c08c0a2afe989b0e5417ed16db117c
drm/amd/display: do not read link setting if edp not connected

[Why]
Previously assume eDP sink present if connector present. Do not
need to enforce this restriction. Fix issue where driver attempt
to read link setting even though no edp connected.

{How]
Only read link setting after reading connection status.

Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c