1802d0beec
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 655 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Richard Fontana <rfontana@redhat.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190527070034.575739538@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
34 lines
856 B
C
34 lines
856 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2015-2016 MediaTek Inc.
|
|
* Author: Houlong Wei <houlong.wei@mediatek.com>
|
|
* Ming Hsiu Tsai <minghsiu.tsai@mediatek.com>
|
|
*/
|
|
|
|
#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__ */
|