diff options
| author | Krishna Reddy <vdumpa@nvidia.com> | 2014-04-18 13:26:01 -0400 |
|---|---|---|
| committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:13 -0400 |
| commit | 930faae9a786a1f26eb64d9204544adb1e1797d0 (patch) | |
| tree | 0808ed83ce2b17c320aa44dc6d78ddf0c647913c /include/linux/nvmap.h | |
| parent | e4987fbc5f7ef0c76bfd391ae0dffb0efd5e9135 (diff) | |
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 <vdumpa@nvidia.com>
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/398348
Diffstat (limited to 'include/linux/nvmap.h')
| -rw-r--r-- | include/linux/nvmap.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ | |||
| 52 | #define NVMAP_HANDLE_KIND_SPECIFIED (0x1ul << 3) | 52 | #define NVMAP_HANDLE_KIND_SPECIFIED (0x1ul << 3) |
| 53 | #define NVMAP_HANDLE_COMPR_SPECIFIED (0x1ul << 4) | 53 | #define NVMAP_HANDLE_COMPR_SPECIFIED (0x1ul << 4) |
| 54 | #define NVMAP_HANDLE_ZEROED_PAGES (0x1ul << 5) | 54 | #define NVMAP_HANDLE_ZEROED_PAGES (0x1ul << 5) |
| 55 | #define NVMAP_HANDLE_PHYSICALLY_CONTIGUOUS (0x1ul << 6) | 55 | #define NVMAP_HANDLE_PHYS_CONTIG (0x1ul << 6) |
| 56 | #define NVMAP_HANDLE_CACHE_SYNC (0x1ul << 7) | ||
| 56 | 57 | ||
| 57 | #if defined(__KERNEL__) | 58 | #if defined(__KERNEL__) |
| 58 | 59 | ||
