drm/amd/display: Fix eDP power isn't off when lid close
Signed-off-by: John Wu <john.wu@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
0a323b84fa
commit
ef347b3b80
|
@ -112,8 +112,10 @@ void dp_disable_link_phy(struct core_link *link, enum signal_type signal)
|
|||
if (!link->wa_flags.dp_keep_receiver_powered)
|
||||
dp_receiver_power_ctrl(link, false);
|
||||
|
||||
if (signal == SIGNAL_TYPE_EDP)
|
||||
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);
|
||||
}
|
||||
|
||||
link->link_enc->funcs->disable_output(link->link_enc, signal);
|
||||
|
||||
|
|
Loading…
Reference in New Issue