diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2017-07-05 06:11:15 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-07-07 10:05:38 -0400 |
commit | d479a781c68ab20ff27ae6d1a6eb6e15eb51fb88 (patch) | |
tree | 1a7fb1327e5ad9dc04ecb013095a53b053b2e88b /include/uapi/linux/nvgpu-t18x.h | |
parent | 8bdb74786cd58746a6d9c361f8383fdfb43c6c98 (diff) |
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 <dnibade@nvidia.com>
Reviewed-on: https://git-master/r/1514438
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'include/uapi/linux/nvgpu-t18x.h')
-rw-r--r-- | include/uapi/linux/nvgpu-t18x.h | 6 |
1 files changed, 0 insertions, 6 deletions
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 | |||
@@ -25,12 +25,6 @@ | |||
25 | #define _UAPI__LINUX_NVGPU_T18X_IOCTL_H_ | 25 | #define _UAPI__LINUX_NVGPU_T18X_IOCTL_H_ |
26 | 26 | ||
27 | /* | 27 | /* |
28 | * this flag is used in struct nvgpu_as_map_buffer_ex_args | ||
29 | * to specify IO coherence | ||
30 | */ | ||
31 | #define NVGPU_AS_MAP_BUFFER_FLAGS_IO_COHERENT (1 << 4) | ||
32 | |||
33 | /* | ||
34 | * this flag is used in struct nvgpu_alloc_gpfifo_args | 28 | * this flag is used in struct nvgpu_alloc_gpfifo_args |
35 | * to enable re-playable faults for that channel | 29 | * to enable re-playable faults for that channel |
36 | */ | 30 | */ |