linux/drivers/media/platform/nvidia/tegra-vde/dmabuf-cache.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * NVIDIA Tegra Video decoder driver
 *
 * Copyright (C) 2016-2019 GRATE-DRIVER project
 */

#include <linux/dma-buf.h>
#include <linux/iova.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <linux/module.h>

#include "vde.h"

MODULE_IMPORT_NS();

struct tegra_vde_cache_entry {};

static void tegra_vde_release_entry(struct tegra_vde_cache_entry *entry)
{}

static void tegra_vde_delayed_unmap(struct work_struct *work)
{}

int tegra_vde_dmabuf_cache_map(struct tegra_vde *vde,
			       struct dma_buf *dmabuf,
			       enum dma_data_direction dma_dir,
			       struct dma_buf_attachment **ap,
			       dma_addr_t *addrp)
{}

void tegra_vde_dmabuf_cache_unmap(struct tegra_vde *vde,
				  struct dma_buf_attachment *a,
				  bool release)
{}

void tegra_vde_dmabuf_cache_unmap_sync(struct tegra_vde *vde)
{}

void tegra_vde_dmabuf_cache_unmap_all(struct tegra_vde *vde)
{}