mirror of
https://github.com/torvalds/linux.git
synced 2026-04-23 17:15:46 -04:00
Revert "drm/amd/display: turn off eDP lcdvdd and backlight if not required"
This reverts commit 0d93e82186 ("drm/amd/display: turn off eDP lcdvdd and backlight if not required")
Reason for revert: Causes S4 lightup regressions.
Reviewed-by: Gabe Teeger <gabe.teeger@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
a063ce924e
commit
c00a39f62b
@@ -393,7 +393,6 @@ void edp_set_panel_power(struct dc_link *link, bool powerOn)
|
||||
|
||||
// 3. Rx power on
|
||||
dpcd_write_rx_power_ctrl(link, true);
|
||||
DC_LOG_BACKLIGHT("eDP power and backlight: Power on");
|
||||
} else {
|
||||
// 3. Rx power off
|
||||
dpcd_write_rx_power_ctrl(link, false);
|
||||
@@ -405,7 +404,6 @@ void edp_set_panel_power(struct dc_link *link, bool powerOn)
|
||||
// 1. panel VDD off
|
||||
if (!link->dc->config.edp_no_power_sequencing)
|
||||
link->dc->hwss.edp_power_control(link, false);
|
||||
DC_LOG_BACKLIGHT("eDP power and backlight: Power off");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user