Commit 48841a20 authored by Roman Li's avatar Roman Li Committed by Alex Deucher

drm/amd/display: Fix eDP panel light-up

 Power-down panel on disale only if sink exists
 otherwise it fails edid read during init sequence
Signed-off-by: default avatarRoman Li <Roman.Li@amd.com>
Reviewed-by: default avatarAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Acked-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 4017fcdf
...@@ -114,7 +114,9 @@ void dp_disable_link_phy(struct dc_link *link, enum signal_type signal) ...@@ -114,7 +114,9 @@ void dp_disable_link_phy(struct dc_link *link, enum signal_type signal)
if (signal == SIGNAL_TYPE_EDP) { if (signal == SIGNAL_TYPE_EDP) {
link->link_enc->funcs->backlight_control(link->link_enc, false); link->link_enc->funcs->backlight_control(link->link_enc, false);
link->link_enc->funcs->power_control(link->link_enc, false); if (link->dpcd_sink_count)
link->link_enc->funcs->power_control(link->link_enc,
false);
} }
link->link_enc->funcs->disable_output(link->link_enc, signal); link->link_enc->funcs->disable_output(link->link_enc, signal);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment