video: tegra: nvmap: Add support for zeroed pages
authorAlex Waterman <alexw@nvidia.com>
Wed, 1 Aug 2012 18:02:30 +0000 (11:02 -0700)
committerSimone Willett <swillett@nvidia.com>
Wed, 15 Aug 2012 19:49:57 +0000 (12:49 -0700)
commitce2daefbdf5eeb371e1aae15e6dc1928e2c1c627
treebf5bcad37a081b9bfbb20cdfc64f93522eebc194
parent18156565232996364bbeef583db5fee07940ca7d
video: tegra: nvmap: Add support for zeroed pages

Add support to alloc zeroed pages for user space alloc requests. Also
define a config option to force userspace allocation requests to be
zeroed.

Change-Id: I75d3b2bc36e808f1470b423578ec4cba99e0f967
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/122549
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
drivers/video/tegra/Kconfig
drivers/video/tegra/nvmap/nvmap_handle.c
drivers/video/tegra/nvmap/nvmap_ioctl.c
include/linux/nvmap.h