summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/mediatek/mdp3/mtk-mdp3-cfg.h
blob: 49cdf45f6e59ef5d1955290c6e92aae739c10029 (plain)
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: GPL-2.0-only */
/*
 * Copyright (c) 2023 MediaTek Inc.
 * Author: Ping-Hsun Wu <ping-hsun.wu@mediatek.com>
 */

#ifndef __MTK_MDP3_CFG_H__
#define __MTK_MDP3_CFG_H__

#include <linux/types.h>

extern const struct mtk_mdp_driver_data mt8183_mdp_driver_data;
extern const struct mtk_mdp_driver_data mt8195_mdp_driver_data;

struct mdp_dev;
enum mtk_mdp_comp_id;

s32 mdp_cfg_get_id_inner(struct mdp_dev *mdp_dev, enum mtk_mdp_comp_id id);
enum mtk_mdp_comp_id mdp_cfg_get_id_public(struct mdp_dev *mdp_dev, s32 id);
bool mdp_cfg_comp_is_dummy(struct mdp_dev *mdp_dev, s32 inner_id);

#endif  /* __MTK_MDP3_CFG_H__ */