mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
gpu: nvgpu: Correct irq and elpg disable sequence
Bug 200066741 Change-Id: I873835c8aff0c53ac475090d727754ce1ccca0ee Signed-off-by: Supriya <ssharatkumar@nvidia.com> Reviewed-on: http://git-master/r/715632 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
@@ -680,6 +680,8 @@ static int gk20a_pm_prepare_poweroff(struct device *dev)
|
|||||||
/* cancel any pending cde work */
|
/* cancel any pending cde work */
|
||||||
gk20a_cde_suspend(g);
|
gk20a_cde_suspend(g);
|
||||||
|
|
||||||
|
/* disable elpg before gr or fifo suspend */
|
||||||
|
ret |= gk20a_pmu_destroy(g);
|
||||||
/*
|
/*
|
||||||
* After this point, gk20a interrupts should not get
|
* After this point, gk20a interrupts should not get
|
||||||
* serviced.
|
* serviced.
|
||||||
@@ -687,8 +689,6 @@ static int gk20a_pm_prepare_poweroff(struct device *dev)
|
|||||||
disable_irq(g->irq_stall);
|
disable_irq(g->irq_stall);
|
||||||
disable_irq(g->irq_nonstall);
|
disable_irq(g->irq_nonstall);
|
||||||
|
|
||||||
/* disable elpg before gr or fifo suspend */
|
|
||||||
ret |= gk20a_pmu_destroy(g);
|
|
||||||
ret |= gk20a_gr_suspend(g);
|
ret |= gk20a_gr_suspend(g);
|
||||||
ret |= gk20a_mm_suspend(g);
|
ret |= gk20a_mm_suspend(g);
|
||||||
ret |= gk20a_fifo_suspend(g);
|
ret |= gk20a_fifo_suspend(g);
|
||||||
|
|||||||
Reference in New Issue
Block a user