drm/amdgpu: rename function to follow naming convention in dce110
authorAlexandre Demers <alexandre.f.demers@gmail.com>
Tue, 8 Apr 2025 02:10:55 +0000 (22:10 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Apr 2025 14:54:18 +0000 (10:54 -0400)
The prefix dce110 is used on all functions, but init_pipes() and
init_hw(). Under DCN, these sames functions are prefixed.

Let's keep thing coherent.

Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c

index 778b68ec489e0daa6254f0a4de2edb24a1a9bf79..6fe26094addd79aef5ec8e1158a32f7e1dc18fd8 100644 (file)
@@ -2758,12 +2758,12 @@ static void dce110_enable_per_frame_crtc_position_reset(
 
 }
 
-static void init_pipes(struct dc *dc, struct dc_state *context)
+static void dce110_init_pipes(struct dc *dc, struct dc_state *context)
 {
        // Do nothing
 }
 
-static void init_hw(struct dc *dc)
+static void dce110_init_hw(struct dc *dc)
 {
        int i;
        struct dc_bios *bp;
@@ -3322,7 +3322,7 @@ void dce110_disable_link_output(struct dc_link *link,
 static const struct hw_sequencer_funcs dce110_funcs = {
        .program_gamut_remap = program_gamut_remap,
        .program_output_csc = program_output_csc,
-       .init_hw = init_hw,
+       .init_hw = dce110_init_hw,
        .apply_ctx_to_hw = dce110_apply_ctx_to_hw,
        .apply_ctx_for_surface = dce110_apply_ctx_for_surface,
        .post_unlock_program_front_end = dce110_post_unlock_program_front_end,
@@ -3366,7 +3366,7 @@ static const struct hw_sequencer_funcs dce110_funcs = {
 };
 
 static const struct hwseq_private_funcs dce110_private_funcs = {
-       .init_pipes = init_pipes,
+       .init_pipes = dce110_init_pipes,
        .set_input_transfer_func = dce110_set_input_transfer_func,
        .set_output_transfer_func = dce110_set_output_transfer_func,
        .power_down = dce110_power_down,