summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/fifo_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/fifo_gm20b.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
index af2a8cd2..ed3a4b98 100644
--- a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
@@ -13,8 +13,6 @@
13 * more details. 13 * more details.
14 */ 14 */
15 15
16#include <linux/delay.h>
17
18#include "gk20a/gk20a.h" 16#include "gk20a/gk20a.h"
19#include "gk20a/fifo_gk20a.h" 17#include "gk20a/fifo_gk20a.h"
20 18
@@ -103,7 +101,7 @@ static void gm20b_fifo_trigger_mmu_fault(struct gk20a *g,
103 break; 101 break;
104 } 102 }
105 103
106 usleep_range(delay, delay * 2); 104 nvgpu_usleep_range(delay, delay * 2);
107 delay = min_t(u32, delay << 1, GR_IDLE_CHECK_MAX); 105 delay = min_t(u32, delay << 1, GR_IDLE_CHECK_MAX);
108 } while (!nvgpu_timeout_expired(&timeout)); 106 } while (!nvgpu_timeout_expired(&timeout));
109 107