mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
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>
29 lines
1.1 KiB
C
29 lines
1.1 KiB
C
/*
|
|
* 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.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
#ifndef THERM_GK20A_H
|
|
#define THERM_GK20A_H
|
|
|
|
/* priority for EXT_THERM_0 event set to highest */
|
|
#define NV_THERM_EVT_EXT_THERM_0_INIT 0x3000100
|
|
#define NV_THERM_EVT_EXT_THERM_1_INIT 0x2000200
|
|
#define NV_THERM_EVT_EXT_THERM_2_INIT 0x1000300
|
|
/* configures the thermal events that may cause clock slowdown */
|
|
#define NV_THERM_USE_A_INIT 0x7
|
|
|
|
int gk20a_init_therm_support(struct gk20a *g);
|
|
|
|
#endif /* THERM_GK20A_H */
|