From 69297c0932f858bcbdc4a304823f22a4c8cf3292 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Mon, 10 Apr 2017 14:01:15 -0700 Subject: gpu: nvgpu: gp106: 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: I54db15d9abf578ec334b100635baec214fe22af5 Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/1460116 Reviewed-by: svccoveritychecker GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman --- drivers/gpu/nvgpu/gp106/fb_gp106.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'drivers/gpu/nvgpu/gp106/fb_gp106.c') diff --git a/drivers/gpu/nvgpu/gp106/fb_gp106.c b/drivers/gpu/nvgpu/gp106/fb_gp106.c index b2e264cd..53f9af56 100644 --- a/drivers/gpu/nvgpu/gp106/fb_gp106.c +++ b/drivers/gpu/nvgpu/gp106/fb_gp106.c @@ -11,8 +11,6 @@ * more details. */ -#include - #include "gk20a/gk20a.h" #include "gp10b/fb_gp10b.h" @@ -31,7 +29,7 @@ static void gp106_fb_reset(struct gk20a *g) gk20a_dbg_fn("done"); break; } - udelay(HW_SCRUB_TIMEOUT_DEFAULT); + nvgpu_udelay(HW_SCRUB_TIMEOUT_DEFAULT); } while (--retries); } -- cgit v1.2.2