aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3499-drm-amd-display-remove-unused-function-prototypes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3499-drm-amd-display-remove-unused-function-prototypes.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3499-drm-amd-display-remove-unused-function-prototypes.patch64
1 files changed, 64 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3499-drm-amd-display-remove-unused-function-prototypes.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3499-drm-amd-display-remove-unused-function-prototypes.patch
new file mode 100644
index 00000000..2d1d7125
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3499-drm-amd-display-remove-unused-function-prototypes.patch
@@ -0,0 +1,64 @@
+From af21fd600a24ef921c66d54326e998af049b9645 Mon Sep 17 00:00:00 2001
+From: Eric Yang <Eric.Yang2@amd.com>
+Date: Thu, 18 Jan 2018 19:24:27 -0500
+Subject: [PATCH 3499/4131] drm/amd/display: remove unused function prototypes
+
+Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
+Reviewed-by: Tony Cheng <Tony.Cheng@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 | 4 ++--
+ drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h | 6 ------
+ 2 files changed, 2 insertions(+), 8 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 914d39e..d7a21a2 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
+@@ -1517,7 +1517,7 @@ static uint32_t compute_pstate_blackout_duration(
+ return total_dest_line_time_ns;
+ }
+
+-void dce110_set_displaymarks(
++static void dce110_set_displaymarks(
+ const struct dc *dc,
+ struct dc_state *context)
+ {
+@@ -2299,7 +2299,7 @@ static void update_plane_addr(const struct dc *dc,
+ plane_state->status.requested_address = plane_state->address;
+ }
+
+-void dce110_update_pending_status(struct pipe_ctx *pipe_ctx)
++static void dce110_update_pending_status(struct pipe_ctx *pipe_ctx)
+ {
+ struct dc_plane_state *plane_state = pipe_ctx->plane_state;
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h
+index cdeb54d..5d7e9f5 100644
+--- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h
++++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h
+@@ -39,11 +39,7 @@ enum dc_status dce110_apply_ctx_to_hw(
+ struct dc *dc,
+ struct dc_state *context);
+
+-void dce110_set_display_clock(struct dc_state *context);
+
+-void dce110_set_displaymarks(
+- const struct dc *dc,
+- struct dc_state *context);
+
+ void dce110_enable_stream(struct pipe_ctx *pipe_ctx);
+
+@@ -60,8 +56,6 @@ void dce110_enable_accelerated_mode(struct dc *dc, struct dc_state *context);
+
+ void dce110_power_down(struct dc *dc);
+
+-void dce110_update_pending_status(struct pipe_ctx *pipe_ctx);
+-
+ void dce110_fill_display_configs(
+ const struct dc_state *context,
+ struct dm_pp_display_configuration *pp_display_cfg);
+--
+2.7.4
+