aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3577-drm-amd-display-remove-unused-function.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3577-drm-amd-display-remove-unused-function.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3577-drm-amd-display-remove-unused-function.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3577-drm-amd-display-remove-unused-function.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3577-drm-amd-display-remove-unused-function.patch
new file mode 100644
index 00000000..e6ec0dfa
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3577-drm-amd-display-remove-unused-function.patch
@@ -0,0 +1,51 @@
+From fc1814a2f43a3e8075b4dfe84e9530122e40feb8 Mon Sep 17 00:00:00 2001
+From: Qingqing Zhuo <qingqing.zhuo@amd.com>
+Date: Fri, 2 Aug 2019 14:10:33 -0400
+Subject: [PATCH 3577/4256] drm/amd/display: remove unused function
+
+[Why]
+This function is not being used, it was left in
+when introducing DCN2
+
+[How]
+Remove the function
+
+Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
+Reviewed-by: Eric Bernstein <Eric.Bernstein@amd.com>
+Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c | 1 -
+ drivers/gpu/drm/amd/display/dc/inc/hw/opp.h | 5 -----
+ 2 files changed, 6 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c
+index d9e7c711a71c..40164ed015ea 100644
+--- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c
++++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c
+@@ -332,7 +332,6 @@ static struct opp_funcs dcn20_opp_funcs = {
+ .opp_set_disp_pattern_generator = opp2_set_disp_pattern_generator,
+ .dpg_is_blanked = opp2_dpg_is_blanked,
+ .opp_dpg_set_blank_color = opp2_dpg_set_blank_color,
+- .opp_convert_pti = NULL,
+ .opp_destroy = opp1_destroy,
+ .opp_program_left_edge_extra_pixel = opp2_program_left_edge_extra_pixel,
+ };
+diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h b/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
+index 5d8a7bcccc6f..957e9047381a 100644
+--- a/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
++++ b/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
+@@ -316,11 +316,6 @@ struct opp_funcs {
+ bool (*dpg_is_blanked)(
+ struct output_pixel_processor *opp);
+
+- void (*opp_convert_pti)(
+- struct output_pixel_processor *opp,
+- bool enable,
+- bool polarity);
+-
+ void (*opp_dpg_set_blank_color)(
+ struct output_pixel_processor *opp,
+ const struct tg_color *color);
+--
+2.17.1
+