diff options
author | Seshendra Gadagottu <sgadagottu@nvidia.com> | 2015-02-10 16:54:06 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 21:57:59 -0400 |
commit | cf0085ec231246748b34081d2786c29cedcbd706 (patch) | |
tree | 2876543638512876e1cd2669237245b6c83a5d27 /include | |
parent | a51abd7bb076e74c6b32285e327bdd6412d6c2fc (diff) |
gpu:nvgpu: add support for unmapped ptes
Add support for unmapped ptes during gmmu map.
Bug 1587825
Change-Id: I6e42ef58bae70ce29e5b82852f77057855ca9971
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/696507
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/nvgpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h index 9e3a362f..b04ef2e3 100644 --- a/include/uapi/linux/nvgpu.h +++ b/include/uapi/linux/nvgpu.h | |||
@@ -104,6 +104,8 @@ struct nvgpu_gpu_zbc_query_table_args { | |||
104 | #define NVGPU_GPU_FLAGS_SUPPORT_SYNC_FENCE_FDS (1 << 3) | 104 | #define NVGPU_GPU_FLAGS_SUPPORT_SYNC_FENCE_FDS (1 << 3) |
105 | /* NVGPU_IOCTL_CHANNEL_CYCLE_STATS is available */ | 105 | /* NVGPU_IOCTL_CHANNEL_CYCLE_STATS is available */ |
106 | #define NVGPU_GPU_FLAGS_SUPPORT_CYCLE_STATS (1 << 4) | 106 | #define NVGPU_GPU_FLAGS_SUPPORT_CYCLE_STATS (1 << 4) |
107 | /* MAP_BUFFER_EX with unmapped PTE */ | ||
108 | #define NVGPU_GPU_FLAGS_SUPPORT_UNMAPPED_PTE (1 << 5) | ||
107 | 109 | ||
108 | struct nvgpu_gpu_characteristics { | 110 | struct nvgpu_gpu_characteristics { |
109 | __u32 arch; | 111 | __u32 arch; |