]> 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)
commit0f12ecbd7176843d0724da2b5d3f93ac634bd64b
tree1474d13d049b063fb4efe5f0a05c07bd242cbe4a
parentff30b1f92df2ae963b767f1fd9ec8e8b949fe587
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