From 930faae9a786a1f26eb64d9204544adb1e1797d0 Mon Sep 17 00:00:00 2001 From: Krishna Reddy Date: Fri, 18 Apr 2014 10:26:01 -0700 Subject: video: tegra: nvmap: add new flag CACHE_SYNC Allocating with this flag allows user space to perform cache maintenance for the dirty pages alone. Rename PHYSICALLY_CONTIGUOUS flag to PHYS_CONTIG. Change-Id: I56d2bce395a46357409048455ab82c2b59f65436 Signed-off-by: Krishna Reddy Signed-off-by: Sri Krishna chowdary Reviewed-on: http://git-master/r/398348 --- include/linux/nvmap.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/linux') diff --git a/include/linux/nvmap.h b/include/linux/nvmap.h index fa119056e..5a3550a49 100644 --- a/include/linux/nvmap.h +++ b/include/linux/nvmap.h @@ -52,7 +52,8 @@ #define NVMAP_HANDLE_KIND_SPECIFIED (0x1ul << 3) #define NVMAP_HANDLE_COMPR_SPECIFIED (0x1ul << 4) #define NVMAP_HANDLE_ZEROED_PAGES (0x1ul << 5) -#define NVMAP_HANDLE_PHYSICALLY_CONTIGUOUS (0x1ul << 6) +#define NVMAP_HANDLE_PHYS_CONTIG (0x1ul << 6) +#define NVMAP_HANDLE_CACHE_SYNC (0x1ul << 7) #if defined(__KERNEL__) -- cgit v1.2.2