summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-04-10 13:47:02 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-04-13 16:44:41 -0400
commit22426a5452ba943ac48867722fb0927baf66d4ac (patch)
tree4595c635cc920e4ba2d540a6e070b89e3037c28e /drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
parenta0fa2b0258dafcd7a2450ab5366a49663b1d2e89 (diff)
gpu: nvgpu: gk20a: Use new delay APIs
Use platform agnostic delay functions instead of Linux kernel APIs. This allows removing dependency to Linux header linux/delay.h. At the same time remove #include lines for other unused Linux headers. JIRA NVGPU-16 Change-Id: I46b9ccb80e0b67efb86ec85676e5a55ff835c0ec Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1460113 Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/ltc_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/ltc_gm20b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
index d8e184ef..17882e72 100644
--- a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
@@ -150,7 +150,7 @@ int gm20b_ltc_cbc_ctrl(struct gk20a *g, enum gk20a_cbc_op op,
150 val = gk20a_readl(g, ctrl1); 150 val = gk20a_readl(g, ctrl1);
151 if (!(val & hw_op)) 151 if (!(val & hw_op))
152 break; 152 break;
153 udelay(5); 153 nvgpu_udelay(5);
154 } while (!nvgpu_timeout_expired(&timeout)); 154 } while (!nvgpu_timeout_expired(&timeout));
155 155
156 if (nvgpu_timeout_peek_expired(&timeout)) { 156 if (nvgpu_timeout_peek_expired(&timeout)) {