summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/therm_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/therm_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/therm_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/therm_gk20a.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/therm_gk20a.h b/drivers/gpu/nvgpu/gk20a/therm_gk20a.h
index 80671d68..ddd7ac54 100644
--- a/drivers/gpu/nvgpu/gk20a/therm_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/therm_gk20a.h
@@ -17,7 +17,10 @@
17#define THERM_GK20A_H 17#define THERM_GK20A_H
18 18
19struct gpu_ops; 19struct gpu_ops;
20struct gk20a;
21
20void gk20a_init_therm_ops(struct gpu_ops *gops); 22void gk20a_init_therm_ops(struct gpu_ops *gops);
23int gk20a_elcg_init_idle_filters(struct gk20a *g);
21 24
22int gk20a_init_therm_support(struct gk20a *g); 25int gk20a_init_therm_support(struct gk20a *g);
23#endif /* THERM_GK20A_H */ 26#endif /* THERM_GK20A_H */