xref: /linux/drivers/media/platform/mediatek/mdp3/mtk-mdp3-cfg.h (revision c8faf11cd192214e231626c3ee973a35d8fc33f2)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2023 MediaTek Inc.
4  * Author: Ping-Hsun Wu <ping-hsun.wu@mediatek.com>
5  */
6 
7 #ifndef __MTK_MDP3_CFG_H__
8 #define __MTK_MDP3_CFG_H__
9 
10 #include <linux/types.h>
11 
12 extern const struct mtk_mdp_driver_data mt8183_mdp_driver_data;
13 extern const struct mtk_mdp_driver_data mt8188_mdp_driver_data;
14 extern const struct mtk_mdp_driver_data mt8195_mdp_driver_data;
15 
16 struct mdp_dev;
17 enum mtk_mdp_comp_id;
18 
19 s32 mdp_cfg_get_id_inner(struct mdp_dev *mdp_dev, enum mtk_mdp_comp_id id);
20 enum mtk_mdp_comp_id mdp_cfg_get_id_public(struct mdp_dev *mdp_dev, s32 id);
21 bool mdp_cfg_comp_is_dummy(struct mdp_dev *mdp_dev, s32 inner_id);
22 
23 #endif  /* __MTK_MDP3_CFG_H__ */
24