]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7e97873e164ed28f54c2f20c229fb673b270f0b0
tree1474d13d049b063fb4efe5f0a05c07bd242cbe4a
parentcf8f55103ff4f2a843b65e982bdec82cece42b35
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