diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index c606e027..93852c17 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -1166,7 +1166,10 @@ static void gk20a_pm_shutdown(struct platform_device *pdev) | |||
1166 | #endif | 1166 | #endif |
1167 | 1167 | ||
1168 | /* Be ready for rail-gate after this point */ | 1168 | /* Be ready for rail-gate after this point */ |
1169 | gk20a_pm_prepare_poweroff(&pdev->dev); | 1169 | if (gk20a_gpu_is_virtual(pdev)) |
1170 | vgpu_pm_prepare_poweroff(&pdev->dev); | ||
1171 | else | ||
1172 | gk20a_pm_prepare_poweroff(&pdev->dev); | ||
1170 | } | 1173 | } |
1171 | 1174 | ||
1172 | #ifdef CONFIG_PM | 1175 | #ifdef CONFIG_PM |