summaryrefslogtreecommitdiff
path: root/drivers/media/platform/mtk-mdp/mtk_mdp_m2m.h
blob: 485dbdbbf51d7654eb716a8095a7e263cc9cde86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2016 MediaTek Inc.
 * Author: Ming Hsiu Tsai <minghsiu.tsai@mediatek.com>
 */

#ifndef __MTK_MDP_M2M_H__
#define __MTK_MDP_M2M_H__

void mtk_mdp_ctx_state_lock_set(struct mtk_mdp_ctx *ctx, u32 state);
int mtk_mdp_register_m2m_device(struct mtk_mdp_dev *mdp);
void mtk_mdp_unregister_m2m_device(struct mtk_mdp_dev *mdp);

#endif /* __MTK_MDP_M2M_H__ */