arm: tegra: nvmap: Forcing to convert CarveOut requests to IOVM
authorHiro Sugawara <hsugawara@nvidia.com>
Thu, 17 Mar 2011 20:58:13 +0000 (13:58 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:45:02 +0000 (21:45 -0800)
commitef904466ea970cfd116c1310cbec0d38c2dccbe3
tree5a0d363545d9bce9bd0aa2e8fdaf1eb8c211f6a5
parent7d9ab1f1bd1b473774027d75f939f0b62b29d6bb
arm: tegra: nvmap: Forcing to convert CarveOut requests to IOVM

Adding a build time CONFIG option to enable forcing of conversion
of non-IRAM CarveOut memory allocation requests to IOVM requests.
Default is "y" to force the conversion.
Each forced conversion is reported to console.
Allocation alignments larger than page size for IOVM are enabled.
Single page CarveOut allocations are converted to system memory.
CarveOut memory reservation has been removed for aruba, cardhu,
and enterprise.

Original-Change-Id: I3a598431d15b92ce853b3bec97be4b583d021264
Reviewed-on: http://git-master/r/29849
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R602260e283f721b7e0f0d802092516ff68c068fe
arch/arm/mach-tegra/include/mach/nvmap.h
drivers/video/tegra/Kconfig
drivers/video/tegra/nvmap/nvmap.h
drivers/video/tegra/nvmap/nvmap_dev.c
drivers/video/tegra/nvmap/nvmap_handle.c
drivers/video/tegra/nvmap/nvmap_heap.c
drivers/video/tegra/nvmap/nvmap_heap.h
drivers/video/tegra/nvmap/nvmap_mru.c