video: tegra: nvmap: eliminate arm_attrib_allocator dependency
authorGary King <gking@nvidia.com>
Wed, 13 Oct 2010 00:40:18 +0000 (17:40 -0700)
committerRebecca Schultz Zavin <rebecca@android.com>
Tue, 19 Oct 2010 19:42:21 +0000 (12:42 -0700)
commit78d98c3245a12433d2016ffc1e00a34fae79d822
tree69427a26b0cb39f32dd120375c2a87497418c2c3
parentaba71d0453b73cbea8297d092be5bb3ecb3fd311
video: tegra: nvmap: eliminate arm_attrib_allocator dependency

remove the dependency that nvmap has on the arm_attrib_allocator
and the lowmem in PTEs change by adding a private page allocator
utility function and calling vm_map_ram unconditionally for all
sysmem handles.

also, add Kconfig variables to allow platforms to disallow the
SYSMEM heap, and to optionally restrict the SYSMEM and IOVMM
heaps to just HIGHMEM.

Change-Id: I3dab1c7323f54a8ab3994dc672b27fd79a9057d7
Signed-off-by: Gary King <gking@nvidia.com>
drivers/video/tegra/Kconfig
drivers/video/tegra/nvmap/nvmap.c
drivers/video/tegra/nvmap/nvmap_handle.c