video: tegra: nvmap: Make IOMMU/IOVMM selectable in Kconfig
authorHiroshi DOYU <hdoyu@nvidia.com>
Tue, 21 Feb 2012 14:47:08 +0000 (16:47 +0200)
committerVarun Wadekar <vwadekar@nvidia.com>
Tue, 17 Jul 2012 08:47:38 +0000 (13:47 +0530)
commitc59fb5fbec5086951a82b3796fd9bb311d461159
tree4dcb650a6b1c1f51aa68a9cdbe9b86f08a87eb4c
parent889fcf5e266940b23fc0dd6e2d28099eeca9cbf0
video: tegra: nvmap: Make IOMMU/IOVMM selectable in Kconfig

This patch allows nvmap to use the standard IOMMU API as its backend
engine instead of the legacy tegra IOVMM by Kconfig.

Enable TEGRA_IOMMU_{GART,SMMU} under IOMMU in config, and it
automatically disables IOVMM, instead.

Change-Id: I71112ef8072591aac4a93075623ca31c8851a960
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/114217
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
drivers/video/tegra/Kconfig
drivers/video/tegra/nvmap/nvmap_dev.c