diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/sec2_gp106.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/sec2_gp106.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gp106/sec2_gp106.c b/drivers/gpu/nvgpu/gp106/sec2_gp106.c index cc1e91f6..078a1436 100644 --- a/drivers/gpu/nvgpu/gp106/sec2_gp106.c +++ b/drivers/gpu/nvgpu/gp106/sec2_gp106.c | |||
@@ -11,8 +11,6 @@ | |||
11 | * more details. | 11 | * more details. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <linux/delay.h> /* for udelay */ | ||
15 | |||
16 | #include "gk20a/gk20a.h" | 14 | #include "gk20a/gk20a.h" |
17 | #include "gk20a/pmu_gk20a.h" | 15 | #include "gk20a/pmu_gk20a.h" |
18 | 16 | ||
@@ -46,7 +44,7 @@ int sec2_clear_halt_interrupt_status(struct gk20a *g, unsigned int timeout) | |||
46 | psec_falcon_irqstat_halt_true_f()) | 44 | psec_falcon_irqstat_halt_true_f()) |
47 | /*halt irq is clear*/ | 45 | /*halt irq is clear*/ |
48 | break; | 46 | break; |
49 | udelay(1); | 47 | nvgpu_udelay(1); |
50 | } while (!nvgpu_timeout_expired(&to)); | 48 | } while (!nvgpu_timeout_expired(&to)); |
51 | 49 | ||
52 | if (nvgpu_timeout_peek_expired(&to)) | 50 | if (nvgpu_timeout_peek_expired(&to)) |
@@ -68,7 +66,7 @@ int sec2_wait_for_halt(struct gk20a *g, unsigned int timeout) | |||
68 | completion = 0; | 66 | completion = 0; |
69 | break; | 67 | break; |
70 | } | 68 | } |
71 | udelay(1); | 69 | nvgpu_udelay(1); |
72 | } while (!nvgpu_timeout_expired(&to)); | 70 | } while (!nvgpu_timeout_expired(&to)); |
73 | 71 | ||
74 | if (completion) { | 72 | if (completion) { |