diff options
author | Lakshmanan M <lm@nvidia.com> | 2016-09-02 07:12:04 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:56:49 -0500 |
commit | 49c3fb25822565a9078961cdef1222aaa8c7e89a (patch) | |
tree | 9643be9d86f5bc7a85d49a7193d2653a2f7a2dcd /drivers/gpu/nvgpu/gp106/therm_gp106.h | |
parent | cb80abb2d2bee2f9feb987b83e8b106acdf14373 (diff) |
gpu: nvgpu: gp10x: Add debugfs entry for temperature reading
Added current temperature reading support for gp10x.
JIRA DNVGPU-48
Change-Id: I45959da28bbd207dcf899a9eb37900c69895cfc1
Signed-off-by: Lakshmanan M <lm@nvidia.com>
Reviewed-on: http://git-master/r/1213717
(cherry picked from commit 805245889d1df8aefce277cff9ea31ea5fb4706b)
Reviewed-on: http://git-master/r/1234092
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/therm_gp106.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/therm_gp106.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/therm_gp106.h b/drivers/gpu/nvgpu/gp106/therm_gp106.h new file mode 100644 index 00000000..6db17c47 --- /dev/null +++ b/drivers/gpu/nvgpu/gp106/therm_gp106.h | |||
@@ -0,0 +1,22 @@ | |||
1 | /* | ||
2 | * general thermal control structures & definitions | ||
3 | * | ||
4 | * Copyright (c) 2016, 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 | |||
16 | #ifndef NVGPU_THERM_GP106_H | ||
17 | #define NVGPU_THERM_GP106_H | ||
18 | |||
19 | #include "gk20a/gk20a.h" | ||
20 | |||
21 | void gp106_init_therm_ops(struct gpu_ops *gops); | ||
22 | #endif | ||