Commit 91d4a129 authored by Charlene Liu's avatar Charlene Liu Committed by Alex Deucher

drm/amd/display: boot up/S4 fix mainlink off before BL.

Signed-off-by: default avatarCharlene Liu <charlene.liu@amd.com>
Reviewed-by: default avatarKrunoslav Kovac <Krunoslav.Kovac@amd.com>
Acked-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 10dab193
...@@ -1481,7 +1481,7 @@ void dce110_enable_accelerated_mode(struct dc *dc, struct dc_state *context) ...@@ -1481,7 +1481,7 @@ void dce110_enable_accelerated_mode(struct dc *dc, struct dc_state *context)
struct dc_link *edp_link = get_link_for_edp(dc); struct dc_link *edp_link = get_link_for_edp(dc);
if (dcb->funcs->get_vga_enabled_displays(dc->ctx->dc_bios) != 0) { if (dcb->funcs->get_vga_enabled_displays(dc->ctx->dc_bios) != 0) {
if (edp_link_to_turnoff) { if (edp_link) {
/*we need turn off backlight before DP_blank and encoder powered down, todo add optimization*/ /*we need turn off backlight before DP_blank and encoder powered down, todo add optimization*/
dc->hwss.edp_backlight_control(edp_link, false); dc->hwss.edp_backlight_control(edp_link, false);
} }
......
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