Power-down panel on disale only if sink exists
otherwise it fails edid read during init sequence
Signed-off-by: Roman Li <Roman.Li@amd.com>
Reviewed-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
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);