diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index f2094bfa..5f365d4b 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -1390,6 +1390,8 @@ static void gk20a_pm_shutdown(struct platform_device *pdev) | |||
1390 | /* Prevent more requests by disabling Runtime PM */ | 1390 | /* Prevent more requests by disabling Runtime PM */ |
1391 | __pm_runtime_disable(&pdev->dev, false); | 1391 | __pm_runtime_disable(&pdev->dev, false); |
1392 | 1392 | ||
1393 | gk20a_wait_for_idle(&pdev->dev); | ||
1394 | |||
1393 | /* Be ready for rail-gate after this point */ | 1395 | /* Be ready for rail-gate after this point */ |
1394 | if (gk20a_gpu_is_virtual(&pdev->dev)) | 1396 | if (gk20a_gpu_is_virtual(&pdev->dev)) |
1395 | vgpu_pm_prepare_poweroff(&pdev->dev); | 1397 | vgpu_pm_prepare_poweroff(&pdev->dev); |