]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/display: Make dcn401_program_pipe non static
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Tue, 4 Feb 2025 20:33:13 +0000 (15:33 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Feb 2025 02:04:10 +0000 (21:04 -0500)
Allow reuse of code by making dcn401_program_pipe()
non static.

Fixes: 2739bd123782 ("drm/amd/display: Allow reuse of of DCN4x code")
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Karthi Kandasamy <karthi.kandasamy@amd.com>
Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.h

index 8ad0ff669b7aab750dfbaeb8f88096ed250e0984..c4a37a95e8124ffb66fb426b28f629ac7d9464d3 100644 (file)
@@ -1934,7 +1934,7 @@ static void dcn401_program_tg(
                hws->funcs.setup_vupdate_interrupt(dc, pipe_ctx);
 }
 
-static void dcn401_program_pipe(
+void dcn401_program_pipe(
        struct dc *dc,
        struct pipe_ctx *pipe_ctx,
        struct dc_state *context)
index dbd69d215b8bc0cc97530446a226ca1971092f4c..781cf0efccc6cdf395c971fade567691242623ac 100644 (file)
@@ -93,6 +93,10 @@ void dcn401_reset_back_end_for_pipe(
 void dcn401_reset_hw_ctx_wrap(
                struct dc *dc,
                struct dc_state *context);
+void dcn401_program_pipe(
+       struct dc *dc,
+       struct pipe_ctx *pipe_ctx,
+       struct dc_state *context);
 void dcn401_perform_3dlut_wa_unlock(struct pipe_ctx *pipe_ctx);
 void dcn401_program_front_end_for_ctx(struct dc *dc, struct dc_state *context);
 void dcn401_post_unlock_program_front_end(struct dc *dc, struct dc_state *context);