diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0694-drm-amd-display-Fix-DCN-compile-errors.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/0694-drm-amd-display-Fix-DCN-compile-errors.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0694-drm-amd-display-Fix-DCN-compile-errors.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0694-drm-amd-display-Fix-DCN-compile-errors.patch new file mode 100644 index 00000000..ffcff539 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0694-drm-amd-display-Fix-DCN-compile-errors.patch @@ -0,0 +1,31 @@ +From c299a06530bbec009f526fd9664f855fc5406038 Mon Sep 17 00:00:00 2001 +From: Vikrant Mhaske <Vikrant.Mhaske@amd.com> +Date: Thu, 27 Jul 2017 17:30:52 +0800 +Subject: [PATCH 0694/4131] drm/amd/display: Fix DCN compile errors + +Fix for DCN compiler errors caused due to various submits + +Signed-off-by: Charlene Liu <Charlene.Liu@amd.com> +Reviewed-by: Charlene Liu <Charlene.Liu@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/dcn10/dcn10_hw_sequencer.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c +index 2299bda..e1298d7 100644 +--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c ++++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c +@@ -1475,6 +1475,8 @@ static void dcn10_pipe_control_lock( + struct pipe_ctx *pipe, + bool lock) + { ++ struct mem_input *mi = NULL; ++ mi = dc->res_pool->mis[pipe->pipe_idx]; + /* use TG master update lock to lock everything on the TG + * therefore only top pipe need to lock + */ +-- +2.7.4 + |