1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2015-2016 MediaTek Inc.
4 * Author: Houlong Wei <houlong.wei@mediatek.com>
5 * Ming Hsiu Tsai <minghsiu.tsai@mediatek.com>
8 #ifndef __MTK_MDP_VPU_H__
9 #define __MTK_MDP_VPU_H__
11 #include "mtk_mdp_ipi.h"
15 * struct mtk_mdp_vpu - VPU instance for MDP
16 * @pdev : pointer to the VPU platform device
17 * @inst_addr : VPU MDP instance address
18 * @failure : VPU execution result status
19 * @vsi : VPU shared information
22 struct platform_device
*pdev
;
25 struct mdp_process_vsi
*vsi
;
28 int mtk_mdp_vpu_register(struct platform_device
*pdev
);
29 int mtk_mdp_vpu_init(struct mtk_mdp_vpu
*vpu
);
30 int mtk_mdp_vpu_deinit(struct mtk_mdp_vpu
*vpu
);
31 int mtk_mdp_vpu_process(struct mtk_mdp_vpu
*vpu
);
33 #endif /* __MTK_MDP_VPU_H__ */