diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/ce2_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/ce2_gk20a.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c index ed5a8b4e..8e3f1754 100644 --- a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c | |||
@@ -339,6 +339,18 @@ int gk20a_init_ce_support(struct gk20a *g) | |||
339 | { | 339 | { |
340 | struct gk20a_ce_app *ce_app = &g->ce_app; | 340 | struct gk20a_ce_app *ce_app = &g->ce_app; |
341 | int err; | 341 | int err; |
342 | u32 ce_reset_mask; | ||
343 | |||
344 | ce_reset_mask = gk20a_fifo_get_all_ce_engine_reset_mask(g); | ||
345 | |||
346 | g->ops.mc.reset(g, ce_reset_mask); | ||
347 | |||
348 | if (g->ops.clock_gating.slcg_ce2_load_gating_prod) | ||
349 | g->ops.clock_gating.slcg_ce2_load_gating_prod(g, | ||
350 | g->slcg_enabled); | ||
351 | if (g->ops.clock_gating.blcg_ce_load_gating_prod) | ||
352 | g->ops.clock_gating.blcg_ce_load_gating_prod(g, | ||
353 | g->blcg_enabled); | ||
342 | 354 | ||
343 | if (ce_app->initialised) { | 355 | if (ce_app->initialised) { |
344 | /* assume this happen during poweron/poweroff GPU sequence */ | 356 | /* assume this happen during poweron/poweroff GPU sequence */ |