summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/nvgpu-t18x.h
diff options
context:
space:
mode:
authorKenneth Adams <kadams@nvidia.com>2014-10-01 11:27:17 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:52:02 -0500
commit16c511220ecda4a0220976f649fddabcfbee86e0 (patch)
tree4b5bcafa5823df54ee08587b72f9a126e853e6c0 /include/uapi/linux/nvgpu-t18x.h
parent07b7a534fa8d5e93420521fcb5e745acad386f00 (diff)
gpu: nvgpu: t18x, gp10b framework
This change adds gp10b to the nvgpu build as well as enabling CMA for buffer allocation. Change-Id: Id3d45ad6ffdab14120395952e68b285dd7364c76 Signed-off-by: Ken Adams <kadams@nvidia.com> Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/553324 GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'include/uapi/linux/nvgpu-t18x.h')
-rw-r--r--include/uapi/linux/nvgpu-t18x.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/include/uapi/linux/nvgpu-t18x.h b/include/uapi/linux/nvgpu-t18x.h
new file mode 100644
index 00000000..3ec0544a
--- /dev/null
+++ b/include/uapi/linux/nvgpu-t18x.h
@@ -0,0 +1,32 @@
1/*
2 * NVGPU Public Interface Header
3 *
4 * Copyright (c) 2011-2014, NVIDIA CORPORATION. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 */
15
16/* This file is meant to extend nvgpu.h, not replace it
17 * as such, be sure that nvgpu.h is actually the file performing the
18 * inclusion, to the extent that's possible.
19 */
20#ifndef _UAPI__LINUX_NVGPU_IOCTL_H
21# error "This file is to be included within nvgpu.h only."
22#endif
23
24#ifndef _UAPI__LINUX_NVGPU_T18X_IOCTL_H_
25#define _UAPI__LINUX_NVGPU_T18X_IOCTL_H_
26
27#define NVGPU_GPU_ARCH_GP100 0x00000130
28#define NVGPU_GPU_IMPL_GP10B 0x0000000B
29
30#endif /* _UAPI__LINUX_NVGPU_T18X_IOCTL_H_ */
31
32