summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index 7855493d..9ee5f282 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -424,18 +424,6 @@ done:
424 return err; 424 return err;
425} 425}
426 426
427/*
428 * Check if the device can go busy. Basically if the driver is currently
429 * in the process of dying then do not let new places make the driver busy.
430 */
431int gk20a_can_busy(struct gk20a *g)
432{
433 if (nvgpu_is_enabled(g, NVGPU_DRIVER_IS_DYING)) {
434 return 0;
435 }
436 return 1;
437}
438
439int gk20a_wait_for_idle(struct gk20a *g) 427int gk20a_wait_for_idle(struct gk20a *g)
440{ 428{
441 int wait_length = 150; /* 3 second overall max wait. */ 429 int wait_length = 150; /* 3 second overall max wait. */