diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2015-03-03 04:10:09 -0500 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:52:04 -0500 |
commit | 022d8a602cc0d707573ff5ce0dd82230e8a80c1c (patch) | |
tree | d703b6b8dc7ea961909dddbdcdce8ddd0ef7d726 /include/uapi/linux/nvgpu-t18x.h | |
parent | e3dcb7546a0d99ca7f1e120f481174e6ec650860 (diff) |
include: uapi: nvgpu: add flag for IO coherence
Add below flag for struct nvgpu_as_map_buffer_ex_args
to specify IO coherence
NVGPU_AS_MAP_BUFFER_FLAGS_IO_COHERENT
Bug 1605653
Change-Id: Id5c8195c37c48cff7ec013c6b4b4d9168d972b8e
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/713104
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/uapi/linux/nvgpu-t18x.h')
-rw-r--r-- | include/uapi/linux/nvgpu-t18x.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/nvgpu-t18x.h b/include/uapi/linux/nvgpu-t18x.h index 3ec0544a..c144f837 100644 --- a/include/uapi/linux/nvgpu-t18x.h +++ b/include/uapi/linux/nvgpu-t18x.h | |||
@@ -27,6 +27,12 @@ | |||
27 | #define NVGPU_GPU_ARCH_GP100 0x00000130 | 27 | #define NVGPU_GPU_ARCH_GP100 0x00000130 |
28 | #define NVGPU_GPU_IMPL_GP10B 0x0000000B | 28 | #define NVGPU_GPU_IMPL_GP10B 0x0000000B |
29 | 29 | ||
30 | /* | ||
31 | * this flag is used in struct nvgpu_as_map_buffer_ex_args | ||
32 | * to specify IO coherence | ||
33 | */ | ||
34 | #define NVGPU_AS_MAP_BUFFER_FLAGS_IO_COHERENT (1 << 4) | ||
35 | |||
30 | #endif /* _UAPI__LINUX_NVGPU_T18X_IOCTL_H_ */ | 36 | #endif /* _UAPI__LINUX_NVGPU_T18X_IOCTL_H_ */ |
31 | 37 | ||
32 | 38 | ||