mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
Some chips bypass the IOMMU on tegra. Essentially any chip using nvlink will fall into this category. This imposes certain oddities in the memory management for these chips. For these chips we do not want nor need IOMMU mappings and the overhead that comes with doing that. Instead nvgpu can manage allocation of pages itself. For contiguous memory nvgpu still does need to rely on the CMA. As such this flag can be used for determining whether to use the special nvgpu managed page allocation (for normal allocs) or the DMA API (and therefor the CMA) for contiguous allocs. Bug 200444660 Change-Id: I3dc4ba6ea9523f2a59966b13527d5a416aaa761a Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2071090 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>