drm/amd/display: Bypass sink detect when there are no eDPs connected
authorJake Wang <haonan.wang2@amd.com>
Tue, 2 Mar 2021 22:55:36 +0000 (17:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:32:25 +0000 (23:32 -0400)
commitb0942618fd12aa59e7ebee700a5242f02f9e55f9
tree1474d13d049b063fb4efe5f0a05c07bd242cbe4a
parent45150cd27ceb8f5e86122a85620df68a89011560
drm/amd/display: Bypass sink detect when there are no eDPs connected

[How & Why]
Check DC config to determine if there are any eDPs connected. If there
are no eDPs connected, bypass sink detect when querying eDP presence.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Jake Wang <haonan.wang2@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c