From 3f26f6955fc6736384e1d56f9ddff2baaa2102a0 Mon Sep 17 00:00:00 2001 From: Seshendra Gadagottu Date: Wed, 6 Apr 2016 18:01:17 -0700 Subject: include: uapi: nvgpu: add gv11b header Add gv11b header to export gv11b arch info. Bug 1735757 Change-Id: I66551eb6bd46652c2f1af3fe512060f5b7febef2 Signed-off-by: Seshendra Gadagottu Reviewed-on: http://git-master/r/1121508 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Ken Adams --- include/uapi/linux/nvgpu-t19x.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 include/uapi/linux/nvgpu-t19x.h (limited to 'include/uapi/linux') diff --git a/include/uapi/linux/nvgpu-t19x.h b/include/uapi/linux/nvgpu-t19x.h new file mode 100644 index 00000000..6a10fb77 --- /dev/null +++ b/include/uapi/linux/nvgpu-t19x.h @@ -0,0 +1,30 @@ +/* + * NVGPU Public Interface Header + * + * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + */ + +/* This file is meant to extend nvgpu.h, not replace it + * as such, be sure that nvgpu.h is actually the file performing the + * inclusion, to the extent that's possible. + */ +#ifndef _UAPI__LINUX_NVGPU_IOCTL_H +# error "This file is to be included within nvgpu.h only." +#endif + +#ifndef _UAPI__LINUX_NVGPU_T19X_IOCTL_H_ +#define _UAPI__LINUX_NVGPU_T19X_IOCTL_H_ + +#define NVGPU_GPU_ARCH_GV110 0x00000150 +#define NVGPU_GPU_IMPL_GV11B 0x0000000B + +#endif /* _UAPI__LINUX_NVGPU_T19X_IOCTL_H_ */ -- cgit v1.2.2