gpu: nvgpu: allow suspend when engine is busy

We currently check that engine is idle before proceeding with
suspend. This prevents suspend when we could simply disable and
preempt all channels. Moreover, doing such a check in virtualization
case, would require to query engine status from RM server, before
proceeding with suspend.
Removed check on engine idle for system suspend.

JIRA EVLR-1852

Change-Id: Ic6dc65af14b00f236db20038dfc04fa0928c1fe2
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1552347
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Thomas Fleury
2017-08-31 15:08:43 -07:00
committed by mobile promotions
parent f073e6d4a3
commit 6b3b2b9c08
2 changed files with 0 additions and 8 deletions

View File

@@ -276,11 +276,6 @@ static int gk20a_pm_prepare_poweroff(struct device *dev)
if (!g->power_on)
goto done;
if (gk20a_fifo_is_engine_busy(g)) {
ret = -EBUSY;
goto done;
}
gk20a_scale_suspend(dev);
gk20a_cde_suspend(l);