summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2017-08-08 18:35:10 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-09-27 01:16:27 +0300
commita2607aef3d0210859d4e9cae6bba7e134ec720d8 (patch)
tree46d666f6aed4890fb0f00e3f9205606070099401
parentf0c4d9977ae215859ff13304ef0fc02a8b779478 (diff)
downloadlinux-a2607aef3d0210859d4e9cae6bba7e134ec720d8.tar.xz
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: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
index c29e51409286..5b46e776b9b7 100644
--- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
+++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
@@ -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);