From 26d425fe8071ef56e947103c1dfd90c204989200 Mon Sep 17 00:00:00 2001 From: Sri Krishna chowdary Date: Thu, 23 Feb 2017 01:04:46 +0530 Subject: video: tegra: nvmap: Add NVMAP_ELEM_SIZE_U64 macro Support reserve and cache list operations for handles larger than 4GB. Use the NVMAP_ELEM_SIZE_U64 flag to differentiate between 32 bit and 64 bit sizes, offsets. bug 1860962 Change-Id: Ia067c7afd01df28be36ea5c82cb465e1e2f79e58 Signed-off-by: Sri Krishna chowdary Reviewed-on: http://git-master/r/1287378 Reviewed-by: mobile promotions Tested-by: mobile promotions --- include/linux/nvmap.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/linux/nvmap.h') diff --git a/include/linux/nvmap.h b/include/linux/nvmap.h index 05d8b167b..e913a3eed 100644 --- a/include/linux/nvmap.h +++ b/include/linux/nvmap.h @@ -130,6 +130,8 @@ enum { NVMAP_PAGES_PROT_AND_CLEAN, }; +#define NVMAP_ELEM_SIZE_U64 (1 << 31) + struct nvmap_create_handle { union { struct { -- cgit v1.2.2