From 022d8a602cc0d707573ff5ce0dd82230e8a80c1c Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Tue, 3 Mar 2015 14:40:09 +0530 Subject: 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 Reviewed-on: http://git-master/r/713104 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- include/uapi/linux/nvgpu-t18x.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/uapi/linux/nvgpu-t18x.h') 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 @@ #define NVGPU_GPU_ARCH_GP100 0x00000130 #define NVGPU_GPU_IMPL_GP10B 0x0000000B +/* + * this flag is used in struct nvgpu_as_map_buffer_ex_args + * to specify IO coherence + */ +#define NVGPU_AS_MAP_BUFFER_FLAGS_IO_COHERENT (1 << 4) + #endif /* _UAPI__LINUX_NVGPU_T18X_IOCTL_H_ */ -- cgit v1.2.2