提交 5b92d9d4 编写于 作者: H Harry Wentland 提交者: Alex Deucher

drm/amd/display: Remove redundant NULL check in DCE11 HWSS

We already check this a couple lines earlier.
Signed-off-by: NHarry Wentland <harry.wentland@amd.com>
Reviewed-by: NJordan Lazare <Jordan.Lazare@amd.com>
Acked-by: NHarry Wentland <harry.wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 78b56c52
...@@ -2017,8 +2017,7 @@ enum dc_status dce110_apply_ctx_to_hw( ...@@ -2017,8 +2017,7 @@ 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 if (pipe_ctx_old->stream && !pipe_need_reprogram(pipe_ctx_old, pipe_ctx))
&& !pipe_need_reprogram(pipe_ctx_old, pipe_ctx))
continue; continue;
if (pipe_ctx->top_pipe) if (pipe_ctx->top_pipe)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册