drm/amd/display: Remove unnecessary function definition
authorAric Cyr <aric.cyr@amd.com>
Sun, 23 Jan 2022 18:20:16 +0000 (13:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jan 2022 23:00:35 +0000 (18:00 -0500)
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.h
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_init.c

index dec8604..ed0a0e5 100644 (file)
@@ -355,11 +355,6 @@ void dcn30_prepare_bandwidth(struct dc *dc,
        dcn20_prepare_bandwidth(dc, context);
 }
 
-void dcn30_optimize_bandwidth(struct dc *dc, struct dc_state *context)
-{
-       dcn20_optimize_bandwidth(dc, context);
-}
-
 void dcn30_disable_writeback(
                struct dc *dc,
                unsigned int dwb_pipe_inst)
index 357ee14..73e7b69 100644 (file)
@@ -50,9 +50,6 @@ void dcn30_disable_writeback(
 void dcn30_prepare_bandwidth(struct dc *dc,
        struct dc_state *context);
 
-void dcn30_optimize_bandwidth(struct dc *dc,
-       struct dc_state *context);
-
 bool dcn30_mmhubbub_warmup(
        struct dc *dc,
        unsigned int num_dwb,
index 73a416c..bb34731 100644 (file)
@@ -60,7 +60,7 @@ static const struct hw_sequencer_funcs dcn30_funcs = {
        .interdependent_update_lock = dcn10_lock_all_pipes,
        .cursor_lock = dcn10_cursor_lock,
        .prepare_bandwidth = dcn20_prepare_bandwidth,
-       .optimize_bandwidth = dcn30_optimize_bandwidth,
+       .optimize_bandwidth = dcn20_optimize_bandwidth,
        .update_bandwidth = dcn20_update_bandwidth,
        .set_drr = dcn10_set_drr,
        .get_position = dcn10_get_position,