summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
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/hal_gm20b.c
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/hal_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/hal_gm20b.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
index e57ef7ec..5fe01833 100644
--- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
@@ -33,6 +33,7 @@
33#include "regops_gm20b.h" 33#include "regops_gm20b.h"
34#include "debug_gm20b.h" 34#include "debug_gm20b.h"
35#include "cde_gm20b.h" 35#include "cde_gm20b.h"
36#include "therm_gm20b.h"
36 37
37#define FUSE_OPT_PRIV_SEC_DIS_0 0x264 38#define FUSE_OPT_PRIV_SEC_DIS_0 0x264
38#define PRIV_SECURITY_DISABLE 0x01 39#define PRIV_SECURITY_DISABLE 0x01
@@ -136,6 +137,7 @@ int gm20b_init_hal(struct gk20a *g)
136 gm20b_init_regops(gops); 137 gm20b_init_regops(gops);
137 gm20b_init_debug_ops(gops); 138 gm20b_init_debug_ops(gops);
138 gm20b_init_cde_ops(gops); 139 gm20b_init_cde_ops(gops);
140 gm20b_init_therm_ops(gops);
139 gops->name = "gm20b"; 141 gops->name = "gm20b";
140 142
141 c->twod_class = FERMI_TWOD_A; 143 c->twod_class = FERMI_TWOD_A;