drm/amd/display: Add same check as reset pipes for programing backend regs.
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
8b32076c27
commit
313bf4ff01
1 changed files with 4 additions and 0 deletions
|
|
@ -1689,6 +1689,10 @@ enum dc_status dce110_apply_ctx_to_hw(
|
|||
if (pipe_ctx->stream == pipe_ctx_old->stream)
|
||||
continue;
|
||||
|
||||
if (pipe_ctx->stream && pipe_ctx_old->stream
|
||||
&& !pipe_need_reprogram(pipe_ctx_old, pipe_ctx))
|
||||
continue;
|
||||
|
||||
if (pipe_ctx->top_pipe)
|
||||
continue;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue