summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dc_spl_translate.h
blob: c73d640c3632f9bfdbbad5fe16940cc7106a2f51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// SPDX-License-Identifier: MIT
//
// Copyright 2024 Advanced Micro Devices, Inc.

#ifndef __DC_SPL_TRANSLATE_H__
#define __DC_SPL_TRANSLATE_H__
#include "dc.h"
#include "resource.h"

/* Map SPL input parameters to pipe context
 * @pipe_ctx: pipe context
 * @spl_in: spl input structure
 */
void translate_SPL_in_params_from_pipe_ctx(struct pipe_ctx *pipe_ctx, struct spl_in *spl_in);

/* Map SPL output parameters to pipe context
 * @pipe_ctx: pipe context
 * @spl_out: spl output structure
 */
void translate_SPL_out_params_to_pipe_ctx(struct pipe_ctx *pipe_ctx, struct spl_out *spl_out);

#endif /* __DC_SPL_TRANSLATE_H__ */