diff options
| author | Sri Krishna chowdary <schowdary@nvidia.com> | 2014-04-03 06:39:16 -0400 |
|---|---|---|
| committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:08 -0400 |
| commit | b6231829330516733eef8fb8f395486695d4ff19 (patch) | |
| tree | 8494231bcc756259cd883a8e7de9cd0050855cef /include/linux/nvmap.h | |
| parent | e142b8479c2ef52df3d5bcdc59d0c64a32d9490f (diff) | |
video: tegra: nvmap: Add cache list IOCTL
Bug 1423574
Bug 1373180
Change-Id: I0fe2bf588a3f33692efa398874bad807e6b045e5
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/392389
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Diffstat (limited to 'include/linux/nvmap.h')
| -rw-r--r-- | include/linux/nvmap.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 { | |||
| 224 | #endif | 224 | #endif |
| 225 | 225 | ||
| 226 | struct nvmap_cache_op_list { | 226 | struct nvmap_cache_op_list { |
| 227 | __u32 handles; /* Uspace ptr to list of handles */ | 227 | __u64 handles; /* Ptr to u32 type array, holding handles */ |
| 228 | __u64 offsets; /* Ptr to u32 type array, holding offsets | ||
| 229 | * into handle mem */ | ||
| 230 | __u64 sizes; /* Ptr to u32 type array, holindg sizes of memory | ||
| 231 | * regions within each handle */ | ||
| 228 | __u32 nr; /* Number of handles */ | 232 | __u32 nr; /* Number of handles */ |
| 233 | __s32 op; /* wb/wb_inv/inv */ | ||
| 229 | }; | 234 | }; |
| 230 | 235 | ||
| 231 | #define NVMAP_IOC_MAGIC 'N' | 236 | #define NVMAP_IOC_MAGIC 'N' |
