mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-06 18:45:18 +07:00
drm/amd/display: fix eDP power down sequence
Signed-off-by: Charlene Liu <charlene.liu@amd.com> Reviewed-by: Anthony Koo <Anthony.Koo@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
2a8f6ccb66
commit
c10efbd371
@ -90,9 +90,12 @@ void dp_enable_link_phy(
|
||||
if (dc_is_dp_sst_signal(signal)) {
|
||||
if (signal == SIGNAL_TYPE_EDP) {
|
||||
link_enc->funcs->power_control(link_enc, true);
|
||||
link_enc->funcs->enable_dp_output(
|
||||
link_enc,
|
||||
link_settings,
|
||||
clock_source);
|
||||
link_enc->funcs->backlight_control(link_enc, true);
|
||||
}
|
||||
|
||||
} else
|
||||
link_enc->funcs->enable_dp_output(
|
||||
link_enc,
|
||||
link_settings,
|
||||
@ -114,9 +117,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->disable_output(link->link_enc, signal);
|
||||
link->link_enc->funcs->power_control(link->link_enc, false);
|
||||
}
|
||||
|
||||
} else
|
||||
link->link_enc->funcs->disable_output(link->link_enc, signal);
|
||||
|
||||
/* Clear current link setting.*/
|
||||
|
Loading…
Reference in New Issue
Block a user