xref: /linux/drivers/gpu/drm/amd/display/dc/dc_spl_translate.h (revision 2a6b6c9a226279b4f6668450ddb21ae655558087)
1 // SPDX-License-Identifier: MIT
2 //
3 // Copyright 2024 Advanced Micro Devices, Inc.
4 
5 #ifndef __DC_SPL_TRANSLATE_H__
6 #define __DC_SPL_TRANSLATE_H__
7 #include "dc.h"
8 #include "resource.h"
9 
10 /* Map SPL input parameters to pipe context
11  * @pipe_ctx: pipe context
12  * @spl_in: spl input structure
13  */
14 void translate_SPL_in_params_from_pipe_ctx(struct pipe_ctx *pipe_ctx, struct spl_in *spl_in);
15 
16 /* Map SPL output parameters to pipe context
17  * @pipe_ctx: pipe context
18  * @spl_out: spl output structure
19  */
20 void translate_SPL_out_params_to_pipe_ctx(struct pipe_ctx *pipe_ctx, struct spl_out *spl_out);
21 
22 #endif /* __DC_SPL_TRANSLATE_H__ */
23