diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 59f16bf6..2046c08e 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -443,8 +443,7 @@ static int gk20a_pm_prepare_poweroff(struct device *dev) | |||
443 | /* cancel any pending cde work */ | 443 | /* cancel any pending cde work */ |
444 | gk20a_cde_suspend(g); | 444 | gk20a_cde_suspend(g); |
445 | 445 | ||
446 | if (platform->has_ce) | 446 | gk20a_ce_suspend(g); |
447 | gk20a_ce_suspend(g); | ||
448 | 447 | ||
449 | ret = gk20a_channel_suspend(g); | 448 | ret = gk20a_channel_suspend(g); |
450 | if (ret) | 449 | if (ret) |
@@ -710,8 +709,7 @@ int gk20a_pm_finalize_poweron(struct device *dev) | |||
710 | if (platform->has_cde) | 709 | if (platform->has_cde) |
711 | gk20a_init_cde_support(g); | 710 | gk20a_init_cde_support(g); |
712 | 711 | ||
713 | if (platform->has_ce) | 712 | gk20a_init_ce_support(g); |
714 | gk20a_init_ce_support(g); | ||
715 | 713 | ||
716 | gk20a_init_mm_ce_context(g); | 714 | gk20a_init_mm_ce_context(g); |
717 | 715 | ||
@@ -1302,8 +1300,7 @@ static int __exit gk20a_remove(struct platform_device *pdev) | |||
1302 | if (g->remove_support) | 1300 | if (g->remove_support) |
1303 | g->remove_support(dev); | 1301 | g->remove_support(dev); |
1304 | 1302 | ||
1305 | if (platform->has_ce) | 1303 | gk20a_ce_destroy(g); |
1306 | gk20a_ce_destroy(g); | ||
1307 | 1304 | ||
1308 | #ifdef CONFIG_ARCH_TEGRA_18x_SOC | 1305 | #ifdef CONFIG_ARCH_TEGRA_18x_SOC |
1309 | nvgpu_clk_arb_cleanup_arbiter(g); | 1306 | nvgpu_clk_arb_cleanup_arbiter(g); |