summaryrefslogtreecommitdiffstats
path: root/include/linux/nvmap.h
diff options
context:
space:
mode:
authorSri Krishna chowdary <schowdary@nvidia.com>2017-02-22 14:34:46 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-03-31 06:47:14 -0400
commit26d425fe8071ef56e947103c1dfd90c204989200 (patch)
tree067f59415c9267dba05e572efbfb4fa827fbe11e /include/linux/nvmap.h
parent9aa3c797595e50ae33abdc1c9b78e4925bf8f84e (diff)
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 <schowdary@nvidia.com> Reviewed-on: http://git-master/r/1287378 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/linux/nvmap.h')
-rw-r--r--include/linux/nvmap.h2
1 files changed, 2 insertions, 0 deletions
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 {
130 NVMAP_PAGES_PROT_AND_CLEAN, 130 NVMAP_PAGES_PROT_AND_CLEAN,
131}; 131};
132 132
133#define NVMAP_ELEM_SIZE_U64 (1 << 31)
134
133struct nvmap_create_handle { 135struct nvmap_create_handle {
134 union { 136 union {
135 struct { 137 struct {