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/therm_gk20a.h | |
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/therm_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/therm_gk20a.h | 3 |
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 | ||
19 | struct gpu_ops; | 19 | struct gpu_ops; |
20 | struct gk20a; | ||
21 | |||
20 | void gk20a_init_therm_ops(struct gpu_ops *gops); | 22 | void gk20a_init_therm_ops(struct gpu_ops *gops); |
23 | int gk20a_elcg_init_idle_filters(struct gk20a *g); | ||
21 | 24 | ||
22 | int gk20a_init_therm_support(struct gk20a *g); | 25 | int gk20a_init_therm_support(struct gk20a *g); |
23 | #endif /* THERM_GK20A_H */ | 26 | #endif /* THERM_GK20A_H */ |