video: tegra: nvmap: implement full L2 clean/flush
authorKirill Artamonov <kartamonov@nvidia.com>
Tue, 12 Jun 2012 16:00:58 +0000 (19:00 +0300)
committerSimone Willett <swillett@nvidia.com>
Tue, 28 Aug 2012 19:40:48 +0000 (12:40 -0700)
commit1fecf8089ef4bc65e92f341684b3c541eecd5eab
tree44c69c83fc02bc9dce49b99ca392a07552c5938e
parent9b55075dfad2224545aef164f63869453face3fd
video: tegra: nvmap: implement full L2 clean/flush

When allocation is bigger than L2 size it is more optimal to
flush or writeback whole L2 instead of doing maintenance
for each allocated page.

bug 983964

Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com>
Change-Id: Ieaa70875b92920567ad7cd75eca6eac8197f46de
Reviewed-on: http://git-master/r/108511
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
drivers/video/tegra/Kconfig
drivers/video/tegra/nvmap/nvmap_common.h
drivers/video/tegra/nvmap/nvmap_dev.c
drivers/video/tegra/nvmap/nvmap_ioctl.c