[PATCH 04/22] drm/amd/display: fix hotplug regression after code refactor

Harry Wentland harry.wentland at amd.com
Wed Dec 21 16:29:58 UTC 2016


From: Roman Li <Roman.Li at amd.com>

The condition logic of REG_WAIT in dce110_stream_encoder_dp_blank()
got inverted after refactoring.

Change-Id: Idf4cece8f49a3bad51b352c3155f8ac8cb0b4907
Signed-off-by: Roman Li <Roman.Li at amd.com>
Reviewed-by: Jordan Lazare <Jordan.Lazare at amd.com>
Acked-by: Harry Wentland <Harry.Wentland at amd.com>
---
 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c b/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
index 0590e0a6cd07..b74a29b40a66 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
@@ -635,7 +635,7 @@ static void dce110_stream_encoder_dp_blank(
 	*/
 
 	REG_WAIT(DP_VID_STREAM_CNTL, DP_VID_STREAM_STATUS,
-			1,
+			0,
 			10, max_retries);
 
 	ASSERT(retries <= max_retries);
-- 
2.9.3



More information about the amd-gfx mailing list