linux/drivers/media/platform/mediatek/mdp3/mtk-mdp3-vpu.c

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

#include <linux/remoteproc.h>
#include <linux/remoteproc/mtk_scp.h>
#include "mtk-mdp3-vpu.h"
#include "mtk-mdp3-core.h"

#define MDP_VPU_MESSAGE_TIMEOUT

static inline struct mdp_dev *vpu_to_mdp(struct mdp_vpu_dev *vpu)
{}

static int mdp_vpu_shared_mem_alloc(struct mdp_vpu_dev *vpu)
{}

void mdp_vpu_shared_mem_free(struct mdp_vpu_dev *vpu)
{}

static void mdp_vpu_ipi_handle_init_ack(void *data, unsigned int len,
					void *priv)
{}

static void mdp_vpu_ipi_handle_deinit_ack(void *data, unsigned int len,
					  void *priv)
{}

static void mdp_vpu_ipi_handle_frame_ack(void *data, unsigned int len,
					 void *priv)
{}

int mdp_vpu_register(struct mdp_dev *mdp)
{}

void mdp_vpu_unregister(struct mdp_dev *mdp)
{}

static int mdp_vpu_sendmsg(struct mdp_vpu_dev *vpu, enum scp_ipi_id id,
			   void *buf, unsigned int len)
{}

int mdp_vpu_dev_init(struct mdp_vpu_dev *vpu, struct mtk_scp *scp,
		     struct mutex *lock)
{}

int mdp_vpu_dev_deinit(struct mdp_vpu_dev *vpu)
{}

int mdp_vpu_process(struct mdp_vpu_dev *vpu, struct img_ipi_frameparam *param)
{}