diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0749-drm-amd-display-Fix-regression-in-dce110_apply_ctx_f.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0749-drm-amd-display-Fix-regression-in-dce110_apply_ctx_f.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0749-drm-amd-display-Fix-regression-in-dce110_apply_ctx_f.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0749-drm-amd-display-Fix-regression-in-dce110_apply_ctx_f.patch new file mode 100644 index 00000000..6d4aedbf --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0749-drm-amd-display-Fix-regression-in-dce110_apply_ctx_f.patch @@ -0,0 +1,33 @@ +From 9f683724787c5f355e2745eb6b35ea6a1d76cf3d Mon Sep 17 00:00:00 2001 +From: Harry Wentland <harry.wentland@amd.com> +Date: Tue, 8 Aug 2017 11:35:10 -0400 +Subject: [PATCH 0749/4131] 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> +--- + drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +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 c29e514..5b46e77 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); +-- +2.7.4 + |