Commit e848c714 authored by Agustin Gutierrez's avatar Agustin Gutierrez Committed by Alex Deucher

Revert "drm/amd/display: Fix error in dmesg at boot"

This reverts commit 4874ecf5.
Signed-off-by: default avatarAgustin Gutierrez <agustin.gutierrez@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 8098acd3
...@@ -1999,7 +1999,7 @@ void blank_all_dp_displays(struct dc *dc, bool hw_init) ...@@ -1999,7 +1999,7 @@ void blank_all_dp_displays(struct dc *dc, bool hw_init)
if ((signal == SIGNAL_TYPE_EDP) || if ((signal == SIGNAL_TYPE_EDP) ||
(signal == SIGNAL_TYPE_DISPLAY_PORT)) { (signal == SIGNAL_TYPE_DISPLAY_PORT)) {
if (hw_init && signal != SIGNAL_TYPE_EDP && dc->links[i]->priv != NULL) { if (hw_init && signal != SIGNAL_TYPE_EDP) {
/* DP 2.0 spec requires that we read LTTPR caps first */ /* DP 2.0 spec requires that we read LTTPR caps first */
dp_retrieve_lttpr_cap(dc->links[i]); dp_retrieve_lttpr_cap(dc->links[i]);
/* if any of the displays are lit up turn them off */ /* if any of the displays are lit up turn them off */
...@@ -2025,7 +2025,7 @@ void blank_all_dp_displays(struct dc *dc, bool hw_init) ...@@ -2025,7 +2025,7 @@ void blank_all_dp_displays(struct dc *dc, bool hw_init)
} }
if (!dc->links[i]->wa_flags.dp_keep_receiver_powered || if (!dc->links[i]->wa_flags.dp_keep_receiver_powered ||
(hw_init && signal != SIGNAL_TYPE_EDP && dc->links[i]->priv != NULL)) (hw_init && signal != SIGNAL_TYPE_EDP))
dp_receiver_power_ctrl(dc->links[i], false); dp_receiver_power_ctrl(dc->links[i], 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