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, 4 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c index 6df8f6e4..5052fc35 100644 --- a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c | |||
@@ -30,6 +30,7 @@ | |||
30 | #include <nvgpu/io.h> | 30 | #include <nvgpu/io.h> |
31 | #include <nvgpu/utils.h> | 31 | #include <nvgpu/utils.h> |
32 | #include <nvgpu/channel.h> | 32 | #include <nvgpu/channel.h> |
33 | #include <nvgpu/power_features/cg.h> | ||
33 | 34 | ||
34 | #include "gk20a.h" | 35 | #include "gk20a.h" |
35 | #include "gk20a/fence_gk20a.h" | 36 | #include "gk20a/fence_gk20a.h" |
@@ -339,14 +340,9 @@ int gk20a_init_ce_support(struct gk20a *g) | |||
339 | 340 | ||
340 | g->ops.mc.reset(g, ce_reset_mask); | 341 | g->ops.mc.reset(g, ce_reset_mask); |
341 | 342 | ||
342 | if (g->ops.clock_gating.slcg_ce2_load_gating_prod) { | 343 | nvgpu_cg_slcg_ce2_load_enable(g); |
343 | g->ops.clock_gating.slcg_ce2_load_gating_prod(g, | 344 | |
344 | g->slcg_enabled); | 345 | nvgpu_cg_blcg_ce_load_enable(g); |
345 | } | ||
346 | if (g->ops.clock_gating.blcg_ce_load_gating_prod) { | ||
347 | g->ops.clock_gating.blcg_ce_load_gating_prod(g, | ||
348 | g->blcg_enabled); | ||
349 | } | ||
350 | 346 | ||
351 | if (ce_app->initialised) { | 347 | if (ce_app->initialised) { |
352 | /* assume this happen during poweron/poweroff GPU sequence */ | 348 | /* assume this happen during poweron/poweroff GPU sequence */ |