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 mt8195_mdp_driver_data; 14 15 struct mdp_dev; 16 enum mtk_mdp_comp_id; 17 18 s32 mdp_cfg_get_id_inner(struct mdp_dev *mdp_dev, enum mtk_mdp_comp_id id); 19 enum mtk_mdp_comp_id mdp_cfg_get_id_public(struct mdp_dev *mdp_dev, s32 id); 20 bool mdp_cfg_comp_is_dummy(struct mdp_dev *mdp_dev, s32 inner_id); 21 22 #endif /* __MTK_MDP3_CFG_H__ */ 23