drm/amd/display: Make DCN32 3dlut function available to future DCNs
authorWesley Chalmers <Wesley.Chalmers@amd.com>
Fri, 3 Mar 2023 19:44:53 +0000 (14:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Mar 2023 04:58:56 +0000 (00:58 -0400)
[Why & How]
Make DCN32 3dlut function non-static and thus
available for future DCNs.

Reviewed-by: Chris Park <Chris.Park@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Wesley Chalmers <Wesley.Chalmers@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/dcn32/dcn32_hwseq.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.h

index 5016b1313f3d65c3ea3010a2744865e6ef541e24..42255c22605d7e32f4e3ecb53e2bb66976649e71 100644 (file)
@@ -414,7 +414,7 @@ void dcn32_subvp_pipe_control_lock(struct dc *dc,
 }
 
 
-static bool dcn32_set_mpc_shaper_3dlut(
+bool dcn32_set_mpc_shaper_3dlut(
        struct pipe_ctx *pipe_ctx, const struct dc_stream_state *stream)
 {
        struct dpp *dpp_base = pipe_ctx->plane_res.dpp;
index 84c1f36c3fa6ebdbe7dc4f5ca428a8493000b55b..2a5376eb9d66b94acf59d7a9448028583087bd15 100644 (file)
@@ -54,6 +54,9 @@ bool dcn32_set_input_transfer_func(struct dc *dc,
                                struct pipe_ctx *pipe_ctx,
                                const struct dc_plane_state *plane_state);
 
+bool dcn32_set_mpc_shaper_3dlut(
+       struct pipe_ctx *pipe_ctx, const struct dc_stream_state *stream);
+
 bool dcn32_set_output_transfer_func(struct dc *dc,
                                struct pipe_ctx *pipe_ctx,
                                const struct dc_stream_state *stream);