summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index a50dfa0e..2a80157d 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -735,6 +735,10 @@ static void gk20a_pm_shutdown(struct platform_device *pdev)
735 735
736 nvgpu_info(g, "shutting down"); 736 nvgpu_info(g, "shutting down");
737 737
738 /* vgpu has nothing to clean up currently */
739 if (gk20a_gpu_is_virtual(&pdev->dev))
740 return;
741
738 gk20a_driver_start_unload(g); 742 gk20a_driver_start_unload(g);
739 743
740 /* If GPU is already railgated, 744 /* If GPU is already railgated,