diff options
author | Seshendra Gadagottu <sgadagottu@nvidia.com> | 2015-10-23 15:02:55 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-10-27 18:42:08 -0400 |
commit | 004a1880ed80f3b384cf3d0d37e0a58eff29fcaf (patch) | |
tree | b1f55beabeeb3b9a411ff609b7c6c4984aae40c6 /drivers/gpu/nvgpu/gk20a/hal_gk20a.c | |
parent | 057c6334f7f72071bc87a1793b688b34add7c681 (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/gk20a/hal_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hal_gk20a.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hal_gk20a.c b/drivers/gpu/nvgpu/gk20a/hal_gk20a.c index b8268e1f..a9ad970a 100644 --- a/drivers/gpu/nvgpu/gk20a/hal_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/hal_gk20a.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include "pmu_gk20a.h" | 27 | #include "pmu_gk20a.h" |
28 | #include "clk_gk20a.h" | 28 | #include "clk_gk20a.h" |
29 | #include "regops_gk20a.h" | 29 | #include "regops_gk20a.h" |
30 | #include "therm_gk20a.h" | ||
30 | 31 | ||
31 | static struct gpu_ops gk20a_ops = { | 32 | static struct gpu_ops gk20a_ops = { |
32 | .clock_gating = { | 33 | .clock_gating = { |
@@ -65,6 +66,7 @@ int gk20a_init_hal(struct gk20a *g) | |||
65 | gk20a_init_clk_ops(gops); | 66 | gk20a_init_clk_ops(gops); |
66 | gk20a_init_regops(gops); | 67 | gk20a_init_regops(gops); |
67 | gk20a_init_debug_ops(gops); | 68 | gk20a_init_debug_ops(gops); |
69 | gk20a_init_therm_ops(gops); | ||
68 | gops->name = "gk20a"; | 70 | gops->name = "gk20a"; |
69 | 71 | ||
70 | c->twod_class = FERMI_TWOD_A; | 72 | c->twod_class = FERMI_TWOD_A; |