diff options
author | Agustin Gutierrez <[email protected]> | 2021-10-15 13:42:15 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-10-19 17:32:51 -0400 |
commit | e848c714dbda4d6f0ad17a4d374af0ce9fcd1615 (patch) | |
tree | a950f2c5b169892e3fb2c44d0bc653c17a04106a | |
parent | 8098acd3dc827d9e2498352c89ba987eb0ee8764 (diff) |
Revert "drm/amd/display: Fix error in dmesg at boot"
This reverts commit 4874ecf5fd1de008756a76796bf255d3b19715c1.
Signed-off-by: Agustin Gutierrez <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/core/dc_link.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c index 6db611f9f554..c01309a1cbf2 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c @@ -1999,7 +1999,7 @@ void blank_all_dp_displays(struct dc *dc, bool hw_init) if ((signal == SIGNAL_TYPE_EDP) || (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_retrieve_lttpr_cap(dc->links[i]); /* 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) } 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); } } |