From d479a781c68ab20ff27ae6d1a6eb6e15eb51fb88 Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Wed, 5 Jul 2017 15:41:15 +0530 Subject: gpu: nvgpu: use coherent aperture for coherent buffers Use sysmem_coherent aperture if the buffer mappings are requested to be IO coherent. Use sysmem_noncoherent aperture otherwise. This is implemented by adding a new coherent field to the GMMU attrs struct. Jira GPUT19X-17 Bug 1651331 Bug 200283998 Change-Id: I5cfb71b5913d4db50ebf10331b19f5a4216456bf Signed-off-by: Deepak Nibade Reviewed-on: https://git-master/r/1514438 GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu --- include/uapi/linux/nvgpu-t18x.h | 6 ------ 1 file changed, 6 deletions(-) (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 16cbd81e..59db77c7 100644 --- a/include/uapi/linux/nvgpu-t18x.h +++ b/include/uapi/linux/nvgpu-t18x.h @@ -24,12 +24,6 @@ #ifndef _UAPI__LINUX_NVGPU_T18X_IOCTL_H_ #define _UAPI__LINUX_NVGPU_T18X_IOCTL_H_ -/* - * 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) - /* * this flag is used in struct nvgpu_alloc_gpfifo_args * to enable re-playable faults for that channel -- cgit v1.2.2