summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/fb_gp106.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-04-10 17:01:15 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-04-13 16:44:41 -0400
commit69297c0932f858bcbdc4a304823f22a4c8cf3292 (patch)
treeda49b2fb3ae2ec77c2089466e57eb8fdf3f05cae /drivers/gpu/nvgpu/gp106/fb_gp106.c
parenta32ec94eb49a5ee9b6fa7479da3ed1e39ea7406d (diff)
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 <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1460116 Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/fb_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/fb_gp106.c4
1 files changed, 1 insertions, 3 deletions
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 @@
11 * more details. 11 * more details.
12 */ 12 */
13 13
14#include <linux/delay.h>
15
16#include "gk20a/gk20a.h" 14#include "gk20a/gk20a.h"
17#include "gp10b/fb_gp10b.h" 15#include "gp10b/fb_gp10b.h"
18 16
@@ -31,7 +29,7 @@ static void gp106_fb_reset(struct gk20a *g)
31 gk20a_dbg_fn("done"); 29 gk20a_dbg_fn("done");
32 break; 30 break;
33 } 31 }
34 udelay(HW_SCRUB_TIMEOUT_DEFAULT); 32 nvgpu_udelay(HW_SCRUB_TIMEOUT_DEFAULT);
35 } while (--retries); 33 } while (--retries);
36} 34}
37 35