diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 03e16913..44ed4e51 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -705,13 +705,6 @@ static int gk20a_pm_prepare_poweroff(struct device *dev) | |||
705 | if (!g->power_on) | 705 | if (!g->power_on) |
706 | goto done; | 706 | goto done; |
707 | 707 | ||
708 | /* | ||
709 | * After this point, gk20a interrupts should not get | ||
710 | * serviced. | ||
711 | */ | ||
712 | disable_irq(g->irq_stall); | ||
713 | disable_irq(g->irq_nonstall); | ||
714 | |||
715 | gk20a_scale_suspend(dev); | 708 | gk20a_scale_suspend(dev); |
716 | 709 | ||
717 | /* cancel any pending cde work */ | 710 | /* cancel any pending cde work */ |
@@ -723,6 +716,12 @@ static int gk20a_pm_prepare_poweroff(struct device *dev) | |||
723 | 716 | ||
724 | /* disable elpg before gr or fifo suspend */ | 717 | /* disable elpg before gr or fifo suspend */ |
725 | ret |= gk20a_pmu_destroy(g); | 718 | ret |= gk20a_pmu_destroy(g); |
719 | /* | ||
720 | * After this point, gk20a interrupts should not get | ||
721 | * serviced. | ||
722 | */ | ||
723 | disable_irq(g->irq_stall); | ||
724 | disable_irq(g->irq_nonstall); | ||
726 | 725 | ||
727 | ret |= gk20a_gr_suspend(g); | 726 | ret |= gk20a_gr_suspend(g); |
728 | ret |= gk20a_mm_suspend(g); | 727 | ret |= gk20a_mm_suspend(g); |