Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / drivers / media / platform / mtk-mdp / mtk_mdp_m2m.h
blob45afd36558177c553bc83f4a94ed5c291b3ac03c
1 /*
2 * Copyright (c) 2016 MediaTek Inc.
3 * Author: Ming Hsiu Tsai <minghsiu.tsai@mediatek.com>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #ifndef __MTK_MDP_M2M_H__
16 #define __MTK_MDP_M2M_H__
18 void mtk_mdp_ctx_state_lock_set(struct mtk_mdp_ctx *ctx, u32 state);
19 int mtk_mdp_register_m2m_device(struct mtk_mdp_dev *mdp);
20 void mtk_mdp_unregister_m2m_device(struct mtk_mdp_dev *mdp);
22 #endif /* __MTK_MDP_M2M_H__ */