[PATCH] Revert "drm/amd/display: disable stream if pixel clock changed with link active"

Alex Deucher alexdeucher at gmail.com
Mon Dec 14 21:53:39 UTC 2020


This reverts commit 8353d30e747f4e5cdd867c6b054dbb85cdcc76a9.

This causes a hang on a carrizo based laptop.  Revert until we can fix
it properly.

Cc: Borislav Petkov <bp at alien8.de>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/display/dc/core/dc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
index 58eb0d69873a..5a1340baade2 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
@@ -895,6 +895,7 @@ static void disable_vbios_mode_if_required(
 		if (stream->link->local_sink &&
 			stream->link->local_sink->sink_signal == SIGNAL_TYPE_EDP) {
 			link = stream->link;
+			break;
 		}
 
 		if (link != NULL && link->link_enc->funcs->is_dig_enabled(link->link_enc)) {
-- 
2.25.4



More information about the amd-gfx mailing list