diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 9ce2ef53..b502ef02 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -370,9 +370,6 @@ int gk20a_wait_for_idle(struct gk20a *g) | |||
370 | if (!g) | 370 | if (!g) |
371 | return -ENODEV; | 371 | return -ENODEV; |
372 | 372 | ||
373 | if (g->user_railgate_disabled) | ||
374 | target_usage_count = 1; | ||
375 | |||
376 | while ((nvgpu_atomic_read(&g->usage_count) != target_usage_count) | 373 | while ((nvgpu_atomic_read(&g->usage_count) != target_usage_count) |
377 | && (wait_length-- >= 0)) | 374 | && (wait_length-- >= 0)) |
378 | nvgpu_msleep(20); | 375 | nvgpu_msleep(20); |