xref: /linux/drivers/gpu/drm/amd/display/dc/dc_spl_translate.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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 #include "dm_helpers.h"
10 
11 /* Map SPL input parameters to pipe context
12  * @pipe_ctx: pipe context
13  * @spl_in: spl input structure
14  */
15 void translate_SPL_in_params_from_pipe_ctx(struct pipe_ctx *pipe_ctx, struct spl_in *spl_in);
16 
17 /* Map SPL output parameters to pipe context
18  * @pipe_ctx: pipe context
19  * @spl_out: spl output structure
20  */
21 void translate_SPL_out_params_to_pipe_ctx(struct pipe_ctx *pipe_ctx, struct spl_out *spl_out);
22 
23 #endif /* __DC_SPL_TRANSLATE_H__ */
24