summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index ca2f7b33..5e56fc81 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -1357,6 +1357,8 @@ static void gk20a_pm_shutdown(struct platform_device *pdev)
1357 1357
1358 dev_info(&pdev->dev, "shutting down"); 1358 dev_info(&pdev->dev, "shutting down");
1359 1359
1360 gk20a_driver_start_unload(platform->g);
1361
1360 /* If GPU is already railgated, 1362 /* If GPU is already railgated,
1361 * just prevent more requests, and return */ 1363 * just prevent more requests, and return */
1362 if (platform->is_railgated && platform->is_railgated(&pdev->dev)) { 1364 if (platform->is_railgated && platform->is_railgated(&pdev->dev)) {