drm/amd/display: fix hotplug regression after code refactor
authorRoman Li <Roman.Li@amd.com>
Thu, 15 Dec 2016 16:51:09 +0000 (11:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:05:29 +0000 (17:05 -0400)
The condition logic of REG_WAIT in dce110_stream_encoder_dp_blank()
got inverted after refactoring.

Signed-off-by: Roman Li <Roman.Li@amd.com>
Reviewed-by: Jordan Lazare <Jordan.Lazare@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c

index 0590e0a..b74a29b 100644 (file)
@@ -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);