diff options
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/nvgpu-t18x.h | 7 | ||||
-rw-r--r-- | include/uapi/linux/nvgpu.h | 9 |
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> |