Commit 9cdc4e7c authored by Roman Li's avatar Roman Li Committed by Alex Deucher

drm/amd/display: fix hotplug regression after code refactor

The condition logic of REG_WAIT in dce110_stream_encoder_dp_blank()
got inverted after refactoring.
Signed-off-by: default avatarRoman Li <Roman.Li@amd.com>
Reviewed-by: default avatarJordan Lazare <Jordan.Lazare@amd.com>
Acked-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent aa66df58
...@@ -635,7 +635,7 @@ static void dce110_stream_encoder_dp_blank( ...@@ -635,7 +635,7 @@ static void dce110_stream_encoder_dp_blank(
*/ */
REG_WAIT(DP_VID_STREAM_CNTL, DP_VID_STREAM_STATUS, REG_WAIT(DP_VID_STREAM_CNTL, DP_VID_STREAM_STATUS,
1, 0,
10, max_retries); 10, max_retries);
ASSERT(retries <= max_retries); ASSERT(retries <= max_retries);
......
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