From b6231829330516733eef8fb8f395486695d4ff19 Mon Sep 17 00:00:00 2001 From: Sri Krishna chowdary Date: Thu, 3 Apr 2014 16:09:16 +0530 Subject: video: tegra: nvmap: Add cache list IOCTL Bug 1423574 Bug 1373180 Change-Id: I0fe2bf588a3f33692efa398874bad807e6b045e5 Signed-off-by: Sri Krishna chowdary Reviewed-on: http://git-master/r/392389 GVS: Gerrit_Virtual_Submit Reviewed-by: Krishna Reddy Tested-by: Krishna Reddy --- include/linux/nvmap.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/linux/nvmap.h') diff --git a/include/linux/nvmap.h b/include/linux/nvmap.h index 78f2eabe1..28227cd61 100644 --- a/include/linux/nvmap.h +++ b/include/linux/nvmap.h @@ -224,8 +224,13 @@ struct nvmap_cache_op_32 { #endif struct nvmap_cache_op_list { - __u32 handles; /* Uspace ptr to list of handles */ + __u64 handles; /* Ptr to u32 type array, holding handles */ + __u64 offsets; /* Ptr to u32 type array, holding offsets + * into handle mem */ + __u64 sizes; /* Ptr to u32 type array, holindg sizes of memory + * regions within each handle */ __u32 nr; /* Number of handles */ + __s32 op; /* wb/wb_inv/inv */ }; #define NVMAP_IOC_MAGIC 'N' -- cgit v1.2.2