diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-09-13 13:52:05 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-10-19 23:43:50 -0400 |
commit | f4b05d295fe821d2871ba22dde178674359fe563 (patch) | |
tree | 8f2ae393a1763efe488c76ff76427dea167041a5 /drivers/gpu/nvgpu/gk20a/priv_ring_gk20a.c | |
parent | bf29bd942201e17f55ff0894833a84b8f6c0bf97 (diff) |
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 <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1220433
(cherry picked from commit f6654ae4d83d31cd40b317bf55922964bbfa575d)
Reviewed-on: http://git-master/r/1239421
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/priv_ring_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/priv_ring_gk20a.c | 3 |
1 files changed, 0 insertions, 3 deletions
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) | |||
42 | 42 | ||
43 | gk20a_readl(g, pri_ringstation_sys_decode_config_r()); | 43 | gk20a_readl(g, pri_ringstation_sys_decode_config_r()); |
44 | 44 | ||
45 | if (g->ops.therm.update_therm_gate_ctrl) | ||
46 | g->ops.therm.update_therm_gate_ctrl(g); | ||
47 | |||
48 | } | 45 | } |
49 | 46 | ||
50 | void gk20a_priv_ring_isr(struct gk20a *g) | 47 | void gk20a_priv_ring_isr(struct gk20a *g) |