mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
856 B
33 lines
856 B
/* SPDX-License-Identifier: GPL-2.0-only */ |
|
/* |
|
* Copyright (c) 2015-2016 MediaTek Inc. |
|
* Author: Houlong Wei <[email protected]> |
|
* Ming Hsiu Tsai <[email protected]> |
|
*/ |
|
|
|
#ifndef __MTK_MDP_VPU_H__ |
|
#define __MTK_MDP_VPU_H__ |
|
|
|
#include "mtk_mdp_ipi.h" |
|
|
|
|
|
/** |
|
* struct mtk_mdp_vpu - VPU instance for MDP |
|
* @pdev : pointer to the VPU platform device |
|
* @inst_addr : VPU MDP instance address |
|
* @failure : VPU execution result status |
|
* @vsi : VPU shared information |
|
*/ |
|
struct mtk_mdp_vpu { |
|
struct platform_device *pdev; |
|
uint32_t inst_addr; |
|
int32_t failure; |
|
struct mdp_process_vsi *vsi; |
|
}; |
|
|
|
int mtk_mdp_vpu_register(struct platform_device *pdev); |
|
int mtk_mdp_vpu_init(struct mtk_mdp_vpu *vpu); |
|
int mtk_mdp_vpu_deinit(struct mtk_mdp_vpu *vpu); |
|
int mtk_mdp_vpu_process(struct mtk_mdp_vpu *vpu); |
|
|
|
#endif /* __MTK_MDP_VPU_H__ */
|
|
|