diff options
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 73515796..3c69a9d0 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -753,6 +753,8 @@ static int gk20a_pm_prepare_poweroff(struct device *_dev) | |||
753 | if (!g->power_on) | 753 | if (!g->power_on) |
754 | return 0; | 754 | return 0; |
755 | 755 | ||
756 | ret |= gk20a_channel_suspend(g); | ||
757 | |||
756 | /* | 758 | /* |
757 | * After this point, gk20a interrupts should not get | 759 | * After this point, gk20a interrupts should not get |
758 | * serviced. | 760 | * serviced. |
@@ -763,8 +765,6 @@ static int gk20a_pm_prepare_poweroff(struct device *_dev) | |||
763 | g->irq_requested = false; | 765 | g->irq_requested = false; |
764 | } | 766 | } |
765 | 767 | ||
766 | ret |= gk20a_channel_suspend(g); | ||
767 | |||
768 | /* disable elpg before gr or fifo suspend */ | 768 | /* disable elpg before gr or fifo suspend */ |
769 | ret |= gk20a_pmu_destroy(g); | 769 | ret |= gk20a_pmu_destroy(g); |
770 | ret |= gk20a_gr_suspend(g); | 770 | ret |= gk20a_gr_suspend(g); |