diff options
author | Lakshmanan M <lm@nvidia.com> | 2016-10-21 07:30:50 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-11-03 12:15:30 -0400 |
commit | 8531eb6df14ac0a92d3ed44a4dedd5d283f24c5b (patch) | |
tree | db0677e5b063cd99d7496533867c0a3fae308177 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | d37a573c4536c153877b201e7b98f5247a16cfed (diff) |
gpu: nvgpu: Add thermal module support
The following CL contains the following VBIOS thermal table parsing
and PMU interface support.
1) Thermal device table
2) Thermal channel table
JIRA DNVGPU-130
Change-Id: I3c1baca3fec2727b6d20aa6c007096372a6a3efe
Signed-off-by: Lakshmanan M <lm@nvidia.com>
Reviewed-on: http://git-master/r/1240631
(cherry picked from commit 1d6fa9ab49b1c84e7f845de206821d879cbda356)
Reviewed-on: http://git-master/r/1246204
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index ec4597a8..43f673f5 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -58,6 +58,7 @@ struct acr_desc; | |||
58 | #include "clk/clk.h" | 58 | #include "clk/clk.h" |
59 | #include "perf/perf.h" | 59 | #include "perf/perf.h" |
60 | #include "pmgr/pmgr.h" | 60 | #include "pmgr/pmgr.h" |
61 | #include "therm/thrm.h" | ||
61 | #endif | 62 | #endif |
62 | #include "gm206/bios_gm206.h" | 63 | #include "gm206/bios_gm206.h" |
63 | 64 | ||
@@ -793,6 +794,7 @@ struct gk20a { | |||
793 | struct clk_pmupstate clk_pmu; | 794 | struct clk_pmupstate clk_pmu; |
794 | struct perf_pmupstate perf_pmu; | 795 | struct perf_pmupstate perf_pmu; |
795 | struct pmgr_pmupstate pmgr_pmu; | 796 | struct pmgr_pmupstate pmgr_pmu; |
797 | struct therm_pmupstate therm_pmu; | ||
796 | #endif | 798 | #endif |
797 | 799 | ||
798 | #ifdef CONFIG_DEBUG_FS | 800 | #ifdef CONFIG_DEBUG_FS |