diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index aae3072a..060429d1 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -459,6 +459,10 @@ static int gk20a_pm_prepare_poweroff(struct device *dev) | |||
459 | if (g->ops.clk.suspend_clk_support) | 459 | if (g->ops.clk.suspend_clk_support) |
460 | ret |= g->ops.clk.suspend_clk_support(g); | 460 | ret |= g->ops.clk.suspend_clk_support(g); |
461 | 461 | ||
462 | #ifdef CONFIG_ARCH_TEGRA_18x_SOC | ||
463 | if (g->ops.pmupstate) | ||
464 | gk20a_deinit_pstate_support(g); | ||
465 | #endif | ||
462 | g->power_on = false; | 466 | g->power_on = false; |
463 | 467 | ||
464 | /* Decrement platform power refcount */ | 468 | /* Decrement platform power refcount */ |