提交 48841a20 编写于 作者: R Roman Li 提交者: 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: NRoman Li <Roman.Li@amd.com>
Reviewed-by: NAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Acked-by: NHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 4017fcdf
......@@ -114,7 +114,9 @@ void dp_disable_link_phy(struct dc_link *link, enum signal_type signal)
if (signal == SIGNAL_TYPE_EDP) {
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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册