summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
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/gk20a/gk20a.h
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/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 75b96f42..2d4e6bbf 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -576,7 +576,7 @@ struct gpu_ops {
576 } mm; 576 } mm;
577 struct { 577 struct {
578 int (*init_therm_setup_hw)(struct gk20a *g); 578 int (*init_therm_setup_hw)(struct gk20a *g);
579 int (*update_therm_gate_ctrl)(struct gk20a *g); 579 int (*elcg_init_idle_filters)(struct gk20a *g);
580 void (*therm_debugfs_init)(struct gk20a *g); 580 void (*therm_debugfs_init)(struct gk20a *g);
581 } therm; 581 } therm;
582 struct { 582 struct {