xref: /linux/drivers/media/platform/mediatek/mdp/mtk_mdp_m2m.h (revision 202779456dc5b75d07b214064161ef6a2421e8be)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2016 MediaTek Inc.
4  * Author: Ming Hsiu Tsai <minghsiu.tsai@mediatek.com>
5  */
6 
7 #ifndef __MTK_MDP_M2M_H__
8 #define __MTK_MDP_M2M_H__
9 
10 void mtk_mdp_ctx_state_lock_set(struct mtk_mdp_ctx *ctx, u32 state);
11 int mtk_mdp_register_m2m_device(struct mtk_mdp_dev *mdp);
12 void mtk_mdp_unregister_m2m_device(struct mtk_mdp_dev *mdp);
13 
14 #endif /* __MTK_MDP_M2M_H__ */
15