summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/therm_gm20b.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2016-09-13 13:52:05 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-10-19 23:43:50 -0400
commitf4b05d295fe821d2871ba22dde178674359fe563 (patch)
tree8f2ae393a1763efe488c76ff76427dea167041a5 /drivers/gpu/nvgpu/gm20b/therm_gm20b.c
parentbf29bd942201e17f55ff0894833a84b8f6c0bf97 (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/gm20b/therm_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/therm_gm20b.c2
1 files changed, 1 insertions, 1 deletions
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)
69void gm20b_init_therm_ops(struct gpu_ops *gops) 69void gm20b_init_therm_ops(struct gpu_ops *gops)
70{ 70{
71 gops->therm.init_therm_setup_hw = gm20b_init_therm_setup_hw; 71 gops->therm.init_therm_setup_hw = gm20b_init_therm_setup_hw;
72 72 gops->therm.elcg_init_idle_filters = gk20a_elcg_init_idle_filters;
73} 73}