linux/drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2022 MediaTek Inc.
 * Author: Ping-Hsun Wu <[email protected]>
 */

#ifndef __MTK_MDP3_CORE_H__
#define __MTK_MDP3_CORE_H__

#include <media/v4l2-device.h>
#include <media/v4l2-mem2mem.h>
#include <linux/soc/mediatek/mtk-mmsys.h>
#include <linux/soc/mediatek/mtk-mutex.h>
#include "mtk-mdp3-comp.h"
#include "mtk-mdp3-vpu.h"

#define MDP_MODULE_NAME
#define MDP_DEVICE_NAME
#define MDP_PHANDLE_NAME

enum mdp_infra_id {};

enum mdp_mm_subsys_id {};

enum mdp_buffer_usage {};

struct mdp_platform_config {};

/* indicate which mutex is used by each pipepline */
enum mdp_pipe_id {};

/* MDP parallel pipe control */
enum {};

#define MDP_PP_MAX

struct mtk_mdp_driver_data {};

struct mdp_mm_subsys {};

struct mdp_dev {};

struct mdp_pipe_info {};

int mdp_vpu_get_locked(struct mdp_dev *mdp);
void mdp_vpu_put_locked(struct mdp_dev *mdp);
int mdp_vpu_register(struct mdp_dev *mdp);
void mdp_vpu_unregister(struct mdp_dev *mdp);
void mdp_video_device_release(struct video_device *vdev);

#endif  /* __MTK_MDP3_CORE_H__ */