diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/2997-drm-amd-display-Remove-dead-enable_plane-function-de.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/2997-drm-amd-display-Remove-dead-enable_plane-function-de.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/2997-drm-amd-display-Remove-dead-enable_plane-function-de.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/2997-drm-amd-display-Remove-dead-enable_plane-function-de.patch new file mode 100644 index 00000000..b2fcfa58 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/2997-drm-amd-display-Remove-dead-enable_plane-function-de.patch @@ -0,0 +1,47 @@ +From 3f1cc44a05833c9142cdd3240a2d1a994633ce03 Mon Sep 17 00:00:00 2001 +From: Harry Wentland <harry.wentland@amd.com> +Date: Mon, 27 Nov 2017 09:30:48 -0500 +Subject: [PATCH 2997/4131] drm/amd/display: Remove dead enable_plane function + definition and call + +Signed-off-by: Harry Wentland <harry.wentland@amd.com> +Reviewed-by: Jordan Lazare <Jordan.Lazare@amd.com> +Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> +Acked-by: Harry Wentland <harry.wentland@amd.com> +--- + drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | 3 --- + drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h | 4 ---- + 2 files changed, 7 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 80d3661..f0002d6 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 +@@ -2053,9 +2053,6 @@ enum dc_status dce110_apply_ctx_to_hw( + context, + dc); + +- if (dc->hwss.enable_plane) +- dc->hwss.enable_plane(dc, pipe_ctx, context); +- + if (DC_OK != status) + return status; + } +diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h b/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h +index b6215ba..5d2b05b 100644 +--- a/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h ++++ b/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h +@@ -138,10 +138,6 @@ struct hw_sequencer_funcs { + + void (*disable_plane)(struct dc *dc, struct pipe_ctx *pipe_ctx); + +- void (*enable_plane)(struct dc *dc, +- struct pipe_ctx *pipe, +- struct dc_state *context); +- + void (*update_info_frame)(struct pipe_ctx *pipe_ctx); + + void (*enable_stream)(struct pipe_ctx *pipe_ctx); +-- +2.7.4 + |