mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
Bug 200582229 This change will add smmu mapping/unmapping support for MODS allocated memory buffer by using kernel smmu api dma_map_sg_attrs() and dma_unmap_sg_attrs() 1. new IOCTL MODS_ESC_IOMMU_DMA_MAP_MEMORY and MODS_ESC_IOMMU_DMA_UNMAP_MEMORY is added to do smmu mapping/unmapping and get smmu mapped address for MODS allocated buffers; 2. a platform device and driver is added to match mods smmu sid in dtb, the device is used to do smmu mapping/unampping; and mods smmu devices are added in dtb to match with the driver with smmu config Signed-off-by: Dong Qiang <carld@nvidia.com> Change-Id: I47d4d1c43f14fc6b51f0c00cee127e1d51377f64 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2180897 Reviewed-by: Chris Dragan <kdragan@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
18 lines
862 B
Makefile
18 lines
862 B
Makefile
obj-$(CONFIG_MODS) := mods.o
|
|
mods-y := mods_krnl.o
|
|
mods-y += mods_mem.o
|
|
mods-y += mods_irq.o
|
|
mods-$(CONFIG_COMMON_CLK) += mods_clock.o
|
|
mods-$(CONFIG_ARCH_TEGRA) += mods_tegraprod.o
|
|
mods-$(CONFIG_ARCH_TEGRA_19x_SOC) += mods_ras.o
|
|
mods-$(CONFIG_PCI) += mods_pci.o
|
|
mods-$(CONFIG_ACPI) += mods_acpi.o
|
|
mods-$(CONFIG_DMA_SHARED_BUFFER) += mods_dmabuf.o
|
|
mods-$(CONFIG_ARCH_TEGRA) += mods_smmu_drv.o
|
|
mods-$(CONFIG_DMA_ENGINE) += mods_dma.o
|
|
mods-$(CONFIG_DEBUG_FS) += mods_debugfs.o
|
|
mods-$(CONFIG_TEGRA_DC) += mods_tegradc.o
|
|
mods-$(CONFIG_TEGRA_NVADSP) += mods_adsp.o
|
|
mods-$(CONFIG_NET) += mods_netdevice.o
|
|
mods-objs := mods.dtb.o
|