mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
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
This commit is contained in:
committed by
Deepak Nibade
parent
07b7a534fa
commit
16c511220e
32
include/uapi/linux/nvgpu-t18x.h
Normal file
32
include/uapi/linux/nvgpu-t18x.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* NVGPU Public Interface Header
|
||||
*
|
||||
* Copyright (c) 2011-2014, 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_T18X_IOCTL_H_
|
||||
#define _UAPI__LINUX_NVGPU_T18X_IOCTL_H_
|
||||
|
||||
#define NVGPU_GPU_ARCH_GP100 0x00000130
|
||||
#define NVGPU_GPU_IMPL_GP10B 0x0000000B
|
||||
|
||||
#endif /* _UAPI__LINUX_NVGPU_T18X_IOCTL_H_ */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user