linux/drivers/media/platform/nvidia/tegra-vde/iommu.c

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

#include <linux/iommu.h>
#include <linux/iova.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>

#if IS_ENABLED(CONFIG_ARM_DMA_USE_IOMMU)
#include <asm/dma-iommu.h>
#endif

#include "vde.h"

int tegra_vde_iommu_map(struct tegra_vde *vde,
			struct sg_table *sgt,
			struct iova **iovap,
			size_t size)
{}

void tegra_vde_iommu_unmap(struct tegra_vde *vde, struct iova *iova)
{}

int tegra_vde_iommu_init(struct tegra_vde *vde)
{}

void tegra_vde_iommu_deinit(struct tegra_vde *vde)
{}