summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/therm_gm20b.h
diff options
context:
space:
mode:
authorSeshendra Gadagottu <sgadagottu@nvidia.com>2015-10-23 15:02:55 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2015-10-27 18:42:08 -0400
commit004a1880ed80f3b384cf3d0d37e0a58eff29fcaf (patch)
treeb1f55beabeeb3b9a411ff609b7c6c4984aae40c6 /drivers/gpu/nvgpu/gm20b/therm_gm20b.h
parent057c6334f7f72071bc87a1793b688b34add7c681 (diff)
gpu: nvgpu: update thermal programming
Add required fileds and values for thermal slow-down settings in thermal header file and implemented chip specific thermal register programming Reviewed-on: http://git-master/r/822199 (cherry picked from commit 9e8a745b8295af002b9780c83caa8dc7b22cc737) Change-Id: I016b18ed230fa6c104eada2e166ccd1a5f2ace36 Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/823012 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/therm_gm20b.h')
-rw-r--r--drivers/gpu/nvgpu/gm20b/therm_gm20b.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/therm_gm20b.h b/drivers/gpu/nvgpu/gm20b/therm_gm20b.h
new file mode 100644
index 00000000..c346c4f2
--- /dev/null
+++ b/drivers/gpu/nvgpu/gm20b/therm_gm20b.h
@@ -0,0 +1,21 @@
1/*
2 * GM20B THERMAL
3 *
4 * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 */
15#ifndef THERM_GM20B_H
16#define THERM_GM20B_H
17
18struct gpu_ops;
19void gm20b_init_therm_ops(struct gpu_ops *gops);
20
21#endif /* THERM_GM20B_H */