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

drm/amd/display: Fix regression in dce110_apply_ctx_for_surfaces

Caused by "add programming for 0 plane case" which was tested on DCN but
not on DCE.
Signed-off-by: NHarry Wentland <harry.wentland@amd.com>
Reviewed-by: NAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Acked-by: NHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 f0c4d997
......@@ -2639,7 +2639,7 @@ static void dce110_apply_ctx_for_surface(
for (i = 0; i < dc->res_pool->pipe_count; i++) {
struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
if (pipe_ctx->stream == stream)
if (pipe_ctx->stream != stream)
continue;
dce110_program_front_end_for_pipe(dc, pipe_ctx);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册