diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-08-18 05:52:20 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:09 -0400 |
commit | 8be2f2bf4c46709f2a900b5ae5d8a61d2548ae3f (patch) | |
tree | 36363f4c66bdf10a9f0915e47e01580022684728 /drivers/gpu/nvgpu/gk20a/mm_gk20a.c | |
parent | 8374a3b27d85a8e3c508b2b90dc0aa34311dc95a (diff) |
gpu: nvgpu: gm20b: Regenerate clock gating lists
Regenerate clock gating lists. Add new blocks, and takes them into
use. Also moves some clock gating settings to be applied at the
earliest possible moment right after reset.
Change-Id: I21888186c200f7a477c63bd3332e8ed578f63741
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/457698
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c index 3feb675b..173776ff 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c | |||
@@ -251,6 +251,19 @@ static int gk20a_init_mm_reset_enable_hw(struct gk20a *g) | |||
251 | if (g->ops.fb.reset) | 251 | if (g->ops.fb.reset) |
252 | g->ops.fb.reset(g); | 252 | g->ops.fb.reset(g); |
253 | 253 | ||
254 | if (g->ops.clock_gating.slcg_fb_load_gating_prod) | ||
255 | g->ops.clock_gating.slcg_fb_load_gating_prod(g, | ||
256 | g->slcg_enabled); | ||
257 | if (g->ops.clock_gating.slcg_ltc_load_gating_prod) | ||
258 | g->ops.clock_gating.slcg_ltc_load_gating_prod(g, | ||
259 | g->slcg_enabled); | ||
260 | if (g->ops.clock_gating.blcg_fb_load_gating_prod) | ||
261 | g->ops.clock_gating.blcg_fb_load_gating_prod(g, | ||
262 | g->blcg_enabled); | ||
263 | if (g->ops.clock_gating.blcg_ltc_load_gating_prod) | ||
264 | g->ops.clock_gating.blcg_ltc_load_gating_prod(g, | ||
265 | g->blcg_enabled); | ||
266 | |||
254 | if (g->ops.fb.init_fs_state) | 267 | if (g->ops.fb.init_fs_state) |
255 | g->ops.fb.init_fs_state(g); | 268 | g->ops.fb.init_fs_state(g); |
256 | 269 | ||