diff options
author | Seshendra Gadagottu <sgadagottu@nvidia.com> | 2015-10-22 18:31:43 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:52:09 -0500 |
commit | 313fcdb1d3c12026246df01c81e2ecd212132de8 (patch) | |
tree | 8e55a6c8777688275d067cb5110c518b1e897ad8 /drivers/gpu/nvgpu/gp10b/hal_gp10b.c | |
parent | 35e3018be12b56ecfa8487ba479cb2df38c6fbf3 (diff) |
gpu: nvgpu: gp10b: update thermal programming
Add required fileds and values for thermal slow-down
settings in thermal header file and corrected
thermal register programming with correct values.
Bug 1695567
Reviewed-on: http://git-master/r/822200
(cherry picked from commit 859d1bda6a059b321d859c887fab8d51d2caa981)
Change-Id: Id90ebd46bc3d6e4284a91e7f2b775d78502a3eca
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/823013
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/hal_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hal_gp10b.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c index 5222fca6..544be96b 100644 --- a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include "gp10b/gp10b_gating_reglist.h" | 32 | #include "gp10b/gp10b_gating_reglist.h" |
33 | #include "gp10b/regops_gp10b.h" | 33 | #include "gp10b/regops_gp10b.h" |
34 | #include "gp10b/cde_gp10b.h" | 34 | #include "gp10b/cde_gp10b.h" |
35 | #include "gp10b/therm_gp10b.h" | ||
35 | 36 | ||
36 | #include "gm20b/gr_gm20b.h" | 37 | #include "gm20b/gr_gm20b.h" |
37 | #include "gm20b/fifo_gm20b.h" | 38 | #include "gm20b/fifo_gm20b.h" |
@@ -144,6 +145,7 @@ int gp10b_init_hal(struct gk20a *g) | |||
144 | gk20a_init_debug_ops(gops); | 145 | gk20a_init_debug_ops(gops); |
145 | gp10b_init_regops(gops); | 146 | gp10b_init_regops(gops); |
146 | gp10b_init_cde_ops(gops); | 147 | gp10b_init_cde_ops(gops); |
148 | gp10b_init_therm_ops(gops); | ||
147 | gops->name = "gp10b"; | 149 | gops->name = "gp10b"; |
148 | 150 | ||
149 | c->twod_class = FERMI_TWOD_A; | 151 | c->twod_class = FERMI_TWOD_A; |