drm/amd/display: power down eDP if eDP not present
authorPaul Hsieh <Paul.Hsieh@amd.com>
Tue, 7 Mar 2023 13:04:28 +0000 (21:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Mar 2023 04:59:29 +0000 (00:59 -0400)
commit426714f89f7081ce8bf83546219eed6ea1511891
treec524937b630ad993b657b2b36d1f737314f2424d
parente89d890c1b4a29fd1871f9ce21e9a94720a10e98
drm/amd/display: power down eDP if eDP not present

[Why]
When init, driver will power up eDP to check eDP
present or not. If eDP not present, driver doesn't
power off eDP VDD cause power consumption.

[How]
If eDP is not present when detection, power off eDP
VDD.

Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Paul Hsieh <Paul.Hsieh@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/link_detection.c