]> git.ipfire.org Git - thirdparty/kernel/stable.git/blobdiff - drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
drm/amd/display: refactor init_hw to isolate pipe related init
[thirdparty/kernel/stable.git] / drivers / gpu / drm / amd / display / dc / dce110 / dce110_hw_sequencer.c
index a4386348a981fe7614012779b502f44f0b65b4ac..4df8a43b501855332408051a28854553d8e1b9ee 100644 (file)
@@ -2275,6 +2275,11 @@ static void dce110_enable_per_frame_crtc_position_reset(
 
 }
 
+static void init_pipes(struct dc *dc, struct dc_state *context)
+{
+       // Do nothing
+}
+
 static void init_hw(struct dc *dc)
 {
        int i;
@@ -2642,6 +2647,7 @@ 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_pipes = init_pipes,
        .apply_ctx_to_hw = dce110_apply_ctx_to_hw,
        .apply_ctx_for_surface = dce110_apply_ctx_for_surface,
        .update_plane_addr = update_plane_addr,