diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2014-09-29 06:16:15 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:33 -0400 |
commit | 719923ad9fa7c6b2ca68a25d1ce4518aab844bc2 (patch) | |
tree | bcb3dfbbd2968bf4b863f8990c11f05bc61ed6df /drivers/gpu/nvgpu/gk20a/therm_gk20a.h | |
parent | 83bf2aa83d922080884a9fe547b656e24495e16e (diff) |
gpu: nvgpu: rename gpu ioctls and structs to nvgpu
To help remove the nvhost dependency from nvgpu, rename ioctl defines
and structures used by nvgpu such that nvhost is replaced by nvgpu.
Duplicate some structures as needed.
Update header guards and such accordingly.
Change-Id: Ifc3a867713072bae70256502735583ab38381877
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/542620
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/therm_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/therm_gk20a.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/therm_gk20a.h b/drivers/gpu/nvgpu/gk20a/therm_gk20a.h index 3f67ee12..e670ec0e 100644 --- a/drivers/gpu/nvgpu/gk20a/therm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/therm_gk20a.h | |||
@@ -1,9 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * drivers/video/tegra/host/gk20a/therm_gk20a.h | 2 | * Copyright (c) 2011 - 2014, NVIDIA CORPORATION. All rights reserved. |
3 | * | ||
4 | * GK20A Therm | ||
5 | * | ||
6 | * Copyright (c) 2011 - 2012, NVIDIA CORPORATION. All rights reserved. | ||
7 | * | 3 | * |
8 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
9 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -14,12 +10,11 @@ | |||
14 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | 10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
15 | * more details. | 11 | * more details. |
16 | * | 12 | * |
17 | * You should have received a copy of the GNU General Public License along with | 13 | * You should have received a copy of the GNU General Public License |
18 | * this program; if not, write to the Free Software Foundation, Inc., | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 | * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | ||
20 | */ | 15 | */ |
21 | #ifndef _NVHOST_THERM_GK20A_H_ | 16 | #ifndef THERM_GK20A_H |
22 | #define _NVHOST_THERM_GK20A_H_ | 17 | #define THERM_GK20A_H |
23 | 18 | ||
24 | /* priority for EXT_THERM_0 event set to highest */ | 19 | /* priority for EXT_THERM_0 event set to highest */ |
25 | #define NV_THERM_EVT_EXT_THERM_0_INIT 0x3000100 | 20 | #define NV_THERM_EVT_EXT_THERM_0_INIT 0x3000100 |
@@ -30,4 +25,4 @@ | |||
30 | 25 | ||
31 | int gk20a_init_therm_support(struct gk20a *g); | 26 | int gk20a_init_therm_support(struct gk20a *g); |
32 | 27 | ||
33 | #endif /* _NVHOST_THERM_GK20A_H_ */ | 28 | #endif /* THERM_GK20A_H */ |