]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amd/display: remove unused function
authorQingqing Zhuo <qingqing.zhuo@amd.com>
Fri, 2 Aug 2019 18:10:33 +0000 (14:10 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2019 16:41:45 +0000 (11:41 -0500)
[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>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h

index d9e7c711a71c3cde8728a74cf0ed29e01fd43bb1..40164ed015ea5de34bea1f54ee6a8e713a3d810e 100644 (file)
@@ -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,
 };
index 5d8a7bcccc6fa4292dc141543a3ce11ce6424205..957e9047381aa84a2210fa9300fd6ad897fffaa1 100644 (file)
@@ -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);