summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/acr_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/acr_gm20b.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
index 2fb3bf9d..677f4eb4 100644
--- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
@@ -1338,6 +1338,11 @@ int pmu_wait_for_halt(struct gk20a *g, unsigned int timeout)
1338 } 1338 }
1339 if (timeout == 0) 1339 if (timeout == 0)
1340 return -EBUSY; 1340 return -EBUSY;
1341 data = gk20a_readl(g, pwr_falcon_mailbox0_r());
1342 if (data) {
1343 gk20a_err(dev_from_gk20a(g), "ACR boot failed, err %x", data);
1344 return -EAGAIN;
1345 }
1341 return 0; 1346 return 0;
1342} 1347}
1343 1348