From f4b05d295fe821d2871ba22dde178674359fe563 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Tue, 13 Sep 2016 10:52:05 -0700 Subject: gpu: nvgpu: Move ELCG programming to therm Move ELCG parameter programming to a new function in therm, elcg_init_idle_filter. Implement gk20a variant and use it for gk20a and gm20b. JIRA DNVGPU-74 Change-Id: I8ef400f3a6195311fb9e7da8db6c34993d62f461 Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/1220433 (cherry picked from commit f6654ae4d83d31cd40b317bf55922964bbfa575d) Reviewed-on: http://git-master/r/1239421 GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/gm20b/therm_gm20b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gm20b/therm_gm20b.c') diff --git a/drivers/gpu/nvgpu/gm20b/therm_gm20b.c b/drivers/gpu/nvgpu/gm20b/therm_gm20b.c index 6ebc4c91..6847894a 100644 --- a/drivers/gpu/nvgpu/gm20b/therm_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/therm_gm20b.c @@ -69,5 +69,5 @@ static int gm20b_init_therm_setup_hw(struct gk20a *g) void gm20b_init_therm_ops(struct gpu_ops *gops) { gops->therm.init_therm_setup_hw = gm20b_init_therm_setup_hw; - + gops->therm.elcg_init_idle_filters = gk20a_elcg_init_idle_filters; } -- cgit v1.2.2