drm/amd/display: Only reset top pipe back end.
authorYongqiang Sun <yongqiang.sun@amd.com>
Fri, 22 Sep 2017 20:06:04 +0000 (16:06 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 21 Oct 2017 20:43:13 +0000 (16:43 -0400)
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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/dcn10/dcn10_hw_sequencer.c

index 4e4f20b..014911e 100644 (file)
@@ -1270,6 +1270,9 @@ static void reset_hw_ctx_wrap(
                if (!pipe_ctx_old->stream)
                        continue;
 
+               if (pipe_ctx_old->top_pipe)
+                       continue;
+
                if (!pipe_ctx->stream ||
                                pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) {
                        struct clock_source *old_clk = pipe_ctx_old->clock_source;