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/gk20a/priv_ring_gk20a.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/priv_ring_gk20a.c') diff --git a/drivers/gpu/nvgpu/gk20a/priv_ring_gk20a.c b/drivers/gpu/nvgpu/gk20a/priv_ring_gk20a.c index f812383f..695d646f 100644 --- a/drivers/gpu/nvgpu/gk20a/priv_ring_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/priv_ring_gk20a.c @@ -42,9 +42,6 @@ void gk20a_reset_priv_ring(struct gk20a *g) gk20a_readl(g, pri_ringstation_sys_decode_config_r()); - if (g->ops.therm.update_therm_gate_ctrl) - g->ops.therm.update_therm_gate_ctrl(g); - } void gk20a_priv_ring_isr(struct gk20a *g) -- cgit v1.2.2