Commit 313bf4ff authored by Yongqiang Sun's avatar Yongqiang Sun Committed by Alex Deucher

drm/amd/display: Add same check as reset pipes for programing backend regs.

Signed-off-by: default avatarYongqiang Sun <yongqiang.sun@amd.com>
Acked-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 8b32076c
...@@ -1689,6 +1689,10 @@ enum dc_status dce110_apply_ctx_to_hw( ...@@ -1689,6 +1689,10 @@ enum dc_status dce110_apply_ctx_to_hw(
if (pipe_ctx->stream == pipe_ctx_old->stream) if (pipe_ctx->stream == pipe_ctx_old->stream)
continue; continue;
if (pipe_ctx->stream && pipe_ctx_old->stream
&& !pipe_need_reprogram(pipe_ctx_old, pipe_ctx))
continue;
if (pipe_ctx->top_pipe) if (pipe_ctx->top_pipe)
continue; continue;
......
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