summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-02-07 19:29:51 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-03-02 21:48:41 -0500
commit76b78b6fdcb0bbed72645aaa85de6013e2b135c3 (patch)
treedef110f0c0b0928651186444a9dab058b510c5bb /include/uapi
parentf9b2c30b369ba13735e2c0168fd45bb7275bdebd (diff)
gpu: nvgpu: Remove nvgpu_gpuid_t18x.h
Remove nvgpu_gpuid_t18x.h since this file is now visible. Migrate the relevant definitions and defines into their expected places and make the code use the real defines. No longer is hiding t18x specific stuff necessary. Bug 1799159 Change-Id: I47fa2392e46fdb7aacc70aeb0cc8c3f5ca0dc22f Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1300976 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/nvgpu-t18x.h7
-rw-r--r--include/uapi/linux/nvgpu.h9
2 files changed, 6 insertions, 10 deletions
diff --git a/include/uapi/linux/nvgpu-t18x.h b/include/uapi/linux/nvgpu-t18x.h
index 777f1553..16cbd81e 100644
--- a/include/uapi/linux/nvgpu-t18x.h
+++ b/include/uapi/linux/nvgpu-t18x.h
@@ -24,11 +24,6 @@
24#ifndef _UAPI__LINUX_NVGPU_T18X_IOCTL_H_ 24#ifndef _UAPI__LINUX_NVGPU_T18X_IOCTL_H_
25#define _UAPI__LINUX_NVGPU_T18X_IOCTL_H_ 25#define _UAPI__LINUX_NVGPU_T18X_IOCTL_H_
26 26
27#define NVGPU_GPU_ARCH_GP100 0x00000130
28#define NVGPU_GPU_IMPL_GP104 0x00000004
29#define NVGPU_GPU_IMPL_GP106 0x00000006
30#define NVGPU_GPU_IMPL_GP10B 0x0000000B
31
32/* 27/*
33 * this flag is used in struct nvgpu_as_map_buffer_ex_args 28 * this flag is used in struct nvgpu_as_map_buffer_ex_args
34 * to specify IO coherence 29 * to specify IO coherence
@@ -70,5 +65,3 @@
70#define NVGPU_IOCTL_CHANNEL_EVENT_ID_CILP_PREEMPTION_COMPLETE 4 65#define NVGPU_IOCTL_CHANNEL_EVENT_ID_CILP_PREEMPTION_COMPLETE 4
71 66
72#endif /* _UAPI__LINUX_NVGPU_T18X_IOCTL_H_ */ 67#endif /* _UAPI__LINUX_NVGPU_T18X_IOCTL_H_ */
73
74
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h
index 6101774f..3f358558 100644
--- a/include/uapi/linux/nvgpu.h
+++ b/include/uapi/linux/nvgpu.h
@@ -81,14 +81,17 @@ struct nvgpu_gpu_zbc_query_table_args {
81 81
82/* This contains the minimal set by which the userspace can 82/* This contains the minimal set by which the userspace can
83 determine all the properties of the GPU */ 83 determine all the properties of the GPU */
84
85#define NVGPU_GPU_ARCH_GK100 0x000000E0 84#define NVGPU_GPU_ARCH_GK100 0x000000E0
86#define NVGPU_GPU_IMPL_GK20A 0x0000000A
87
88#define NVGPU_GPU_ARCH_GM200 0x00000120 85#define NVGPU_GPU_ARCH_GM200 0x00000120
86#define NVGPU_GPU_ARCH_GP100 0x00000130
87
88#define NVGPU_GPU_IMPL_GK20A 0x0000000A
89#define NVGPU_GPU_IMPL_GM204 0x00000004 89#define NVGPU_GPU_IMPL_GM204 0x00000004
90#define NVGPU_GPU_IMPL_GM206 0x00000006 90#define NVGPU_GPU_IMPL_GM206 0x00000006
91#define NVGPU_GPU_IMPL_GM20B 0x0000000B 91#define NVGPU_GPU_IMPL_GM20B 0x0000000B
92#define NVGPU_GPU_IMPL_GP104 0x00000004
93#define NVGPU_GPU_IMPL_GP106 0x00000006
94#define NVGPU_GPU_IMPL_GP10B 0x0000000B
92 95
93#ifdef CONFIG_ARCH_TEGRA_18x_SOC 96#ifdef CONFIG_ARCH_TEGRA_18x_SOC
94#include <linux/nvgpu-t18x.h> 97#include <linux/nvgpu-t18x.h>