From 004a1880ed80f3b384cf3d0d37e0a58eff29fcaf Mon Sep 17 00:00:00 2001 From: Seshendra Gadagottu Date: Fri, 23 Oct 2015 12:02:55 -0700 Subject: 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 Reviewed-on: http://git-master/r/823012 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gm20b/hal_gm20b.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu/nvgpu/gm20b/hal_gm20b.c') 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 @@ #include "regops_gm20b.h" #include "debug_gm20b.h" #include "cde_gm20b.h" +#include "therm_gm20b.h" #define FUSE_OPT_PRIV_SEC_DIS_0 0x264 #define PRIV_SECURITY_DISABLE 0x01 @@ -136,6 +137,7 @@ int gm20b_init_hal(struct gk20a *g) gm20b_init_regops(gops); gm20b_init_debug_ops(gops); gm20b_init_cde_ops(gops); + gm20b_init_therm_ops(gops); gops->name = "gm20b"; c->twod_class = FERMI_TWOD_A; -- cgit v1.2.2