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/gk20a/hal_gk20a.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu/nvgpu/gk20a/hal_gk20a.c') 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 @@ #include "pmu_gk20a.h" #include "clk_gk20a.h" #include "regops_gk20a.h" +#include "therm_gk20a.h" static struct gpu_ops gk20a_ops = { .clock_gating = { @@ -65,6 +66,7 @@ int gk20a_init_hal(struct gk20a *g) gk20a_init_clk_ops(gops); gk20a_init_regops(gops); gk20a_init_debug_ops(gops); + gk20a_init_therm_ops(gops); gops->name = "gk20a"; c->twod_class = FERMI_TWOD_A; -- cgit v1.2.2