summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv100
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv100')
-rw-r--r--drivers/gpu/nvgpu/gv100/bios_gv100.c2
-rw-r--r--drivers/gpu/nvgpu/gv100/fifo_gv100.c5
-rw-r--r--drivers/gpu/nvgpu/gv100/flcn_gv100.c2
-rw-r--r--drivers/gpu/nvgpu/gv100/gr_ctx_gv100.c4
-rw-r--r--drivers/gpu/nvgpu/gv100/gr_gv100.c2
-rw-r--r--drivers/gpu/nvgpu/gv100/gv100.h4
-rw-r--r--drivers/gpu/nvgpu/gv100/hal_gv100.c2
-rw-r--r--drivers/gpu/nvgpu/gv100/mm_gv100.c2
-rw-r--r--drivers/gpu/nvgpu/gv100/nvlink_gv100.c2
-rw-r--r--drivers/gpu/nvgpu/gv100/perf_gv100.c2
-rw-r--r--drivers/gpu/nvgpu/gv100/pmu_gv100.c2
-rw-r--r--drivers/gpu/nvgpu/gv100/regops_gv100.c3
12 files changed, 17 insertions, 15 deletions
diff --git a/drivers/gpu/nvgpu/gv100/bios_gv100.c b/drivers/gpu/nvgpu/gv100/bios_gv100.c
index a1a3d053..a97b9efb 100644
--- a/drivers/gpu/nvgpu/gv100/bios_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/bios_gv100.c
@@ -24,8 +24,8 @@
24#include <nvgpu/nvgpu_common.h> 24#include <nvgpu/nvgpu_common.h>
25#include <nvgpu/timers.h> 25#include <nvgpu/timers.h>
26#include <nvgpu/io.h> 26#include <nvgpu/io.h>
27#include <nvgpu/gk20a.h>
27 28
28#include "gk20a/gk20a.h"
29#include "gp106/bios_gp106.h" 29#include "gp106/bios_gp106.h"
30#include "bios_gv100.h" 30#include "bios_gv100.h"
31 31
diff --git a/drivers/gpu/nvgpu/gv100/fifo_gv100.c b/drivers/gpu/nvgpu/gv100/fifo_gv100.c
index 1dedb7d4..0b5515f2 100644
--- a/drivers/gpu/nvgpu/gv100/fifo_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/fifo_gv100.c
@@ -22,11 +22,12 @@
22 * DEALINGS IN THE SOFTWARE. 22 * DEALINGS IN THE SOFTWARE.
23 */ 23 */
24 24
25#include "gk20a/gk20a.h"
26#include "fifo_gv100.h"
27#include <nvgpu/timers.h> 25#include <nvgpu/timers.h>
28#include <nvgpu/ptimer.h> 26#include <nvgpu/ptimer.h>
29#include <nvgpu/io.h> 27#include <nvgpu/io.h>
28#include <nvgpu/gk20a.h>
29
30#include "fifo_gv100.h"
30 31
31#include <nvgpu/hw/gv100/hw_ccsr_gv100.h> 32#include <nvgpu/hw/gv100/hw_ccsr_gv100.h>
32#include <nvgpu/hw/gk20a/hw_fifo_gk20a.h> 33#include <nvgpu/hw/gk20a/hw_fifo_gk20a.h>
diff --git a/drivers/gpu/nvgpu/gv100/flcn_gv100.c b/drivers/gpu/nvgpu/gv100/flcn_gv100.c
index 900d9204..1c3a0a67 100644
--- a/drivers/gpu/nvgpu/gv100/flcn_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/flcn_gv100.c
@@ -21,8 +21,8 @@
21 */ 21 */
22#include <nvgpu/falcon.h> 22#include <nvgpu/falcon.h>
23#include <nvgpu/pmu.h> 23#include <nvgpu/pmu.h>
24#include <nvgpu/gk20a.h>
24 25
25#include "gk20a/gk20a.h"
26#include "gk20a/flcn_gk20a.h" 26#include "gk20a/flcn_gk20a.h"
27#include "gp106/flcn_gp106.h" 27#include "gp106/flcn_gp106.h"
28#include "gv100/flcn_gv100.h" 28#include "gv100/flcn_gv100.h"
diff --git a/drivers/gpu/nvgpu/gv100/gr_ctx_gv100.c b/drivers/gpu/nvgpu/gv100/gr_ctx_gv100.c
index 8b50125e..06dd2088 100644
--- a/drivers/gpu/nvgpu/gv100/gr_ctx_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/gr_ctx_gv100.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * GV100 Graphics Context 2 * GV100 Graphics Context
3 * 3 *
4 * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"), 7 * copy of this software and associated documentation files (the "Software"),
@@ -21,8 +21,8 @@
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE. 22 * DEALINGS IN THE SOFTWARE.
23 */ 23 */
24#include <nvgpu/gk20a.h>
24 25
25#include "gk20a/gk20a.h"
26#include "gr_ctx_gv100.h" 26#include "gr_ctx_gv100.h"
27 27
28int gr_gv100_get_netlist_name(struct gk20a *g, int index, char *name) 28int gr_gv100_get_netlist_name(struct gk20a *g, int index, char *name)
diff --git a/drivers/gpu/nvgpu/gv100/gr_gv100.c b/drivers/gpu/nvgpu/gv100/gr_gv100.c
index d5ace998..0d5692e1 100644
--- a/drivers/gpu/nvgpu/gv100/gr_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/gr_gv100.c
@@ -26,8 +26,8 @@
26#include <nvgpu/debug.h> 26#include <nvgpu/debug.h>
27#include <nvgpu/enabled.h> 27#include <nvgpu/enabled.h>
28#include <nvgpu/io.h> 28#include <nvgpu/io.h>
29#include <nvgpu/gk20a.h>
29 30
30#include "gk20a/gk20a.h"
31#include "gk20a/gr_gk20a.h" 31#include "gk20a/gr_gk20a.h"
32#include "gk20a/gr_pri_gk20a.h" 32#include "gk20a/gr_pri_gk20a.h"
33 33
diff --git a/drivers/gpu/nvgpu/gv100/gv100.h b/drivers/gpu/nvgpu/gv100/gv100.h
index 7cc1f77b..42862251 100644
--- a/drivers/gpu/nvgpu/gv100/gv100.h
+++ b/drivers/gpu/nvgpu/gv100/gv100.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * GV100 Graphics 2 * GV100 Graphics
3 * 3 *
4 * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"), 7 * copy of this software and associated documentation files (the "Software"),
@@ -25,7 +25,7 @@
25#ifndef GV100_H 25#ifndef GV100_H
26#define GV100_H 26#define GV100_H
27 27
28#include "gk20a/gk20a.h" 28#include <nvgpu/gk20a.h>
29 29
30int gv100_init_gpu_characteristics(struct gk20a *g); 30int gv100_init_gpu_characteristics(struct gk20a *g);
31 31
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c
index 6d37f4a2..26584bb4 100644
--- a/drivers/gpu/nvgpu/gv100/hal_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c
@@ -50,7 +50,6 @@
50#include "common/mc/mc_gv11b.h" 50#include "common/mc/mc_gv11b.h"
51#include "common/mc/mc_gv100.h" 51#include "common/mc/mc_gv100.h"
52 52
53#include "gk20a/gk20a.h"
54#include "gk20a/fifo_gk20a.h" 53#include "gk20a/fifo_gk20a.h"
55#include "gk20a/fecs_trace_gk20a.h" 54#include "gk20a/fecs_trace_gk20a.h"
56#include "gk20a/css_gr_gk20a.h" 55#include "gk20a/css_gr_gk20a.h"
@@ -115,6 +114,7 @@
115#include <nvgpu/ctxsw_trace.h> 114#include <nvgpu/ctxsw_trace.h>
116#include <nvgpu/error_notifier.h> 115#include <nvgpu/error_notifier.h>
117#include <nvgpu/clk_arb.h> 116#include <nvgpu/clk_arb.h>
117#include <nvgpu/gk20a.h>
118#include <nvgpu/channel.h> 118#include <nvgpu/channel.h>
119 119
120#include <nvgpu/hw/gv100/hw_proj_gv100.h> 120#include <nvgpu/hw/gv100/hw_proj_gv100.h>
diff --git a/drivers/gpu/nvgpu/gv100/mm_gv100.c b/drivers/gpu/nvgpu/gv100/mm_gv100.c
index 77a0ac4d..43bff760 100644
--- a/drivers/gpu/nvgpu/gv100/mm_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/mm_gv100.c
@@ -24,8 +24,8 @@
24 24
25#include <nvgpu/sizes.h> 25#include <nvgpu/sizes.h>
26#include <nvgpu/io.h> 26#include <nvgpu/io.h>
27#include <nvgpu/gk20a.h>
27 28
28#include "gk20a/gk20a.h"
29#include "gv100/mm_gv100.h" 29#include "gv100/mm_gv100.h"
30 30
31u32 gv100_mm_get_flush_retries(struct gk20a *g, enum nvgpu_flush_op op) 31u32 gv100_mm_get_flush_retries(struct gk20a *g, enum nvgpu_flush_op op)
diff --git a/drivers/gpu/nvgpu/gv100/nvlink_gv100.c b/drivers/gpu/nvgpu/gv100/nvlink_gv100.c
index 7457c181..7bbac293 100644
--- a/drivers/gpu/nvgpu/gv100/nvlink_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/nvlink_gv100.c
@@ -31,8 +31,8 @@
31#include <nvgpu/io.h> 31#include <nvgpu/io.h>
32#include <nvgpu/utils.h> 32#include <nvgpu/utils.h>
33#include <nvgpu/timers.h> 33#include <nvgpu/timers.h>
34#include <nvgpu/gk20a.h>
34 35
35#include "gk20a/gk20a.h"
36#include "nvlink_gv100.h" 36#include "nvlink_gv100.h"
37 37
38#include <nvgpu/hw/gv100/hw_top_gv100.h> 38#include <nvgpu/hw/gv100/hw_top_gv100.h>
diff --git a/drivers/gpu/nvgpu/gv100/perf_gv100.c b/drivers/gpu/nvgpu/gv100/perf_gv100.c
index f3ba78ba..ea4c3662 100644
--- a/drivers/gpu/nvgpu/gv100/perf_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/perf_gv100.c
@@ -24,8 +24,8 @@
24 24
25#include <nvgpu/pmu.h> 25#include <nvgpu/pmu.h>
26#include <nvgpu/bug.h> 26#include <nvgpu/bug.h>
27#include <nvgpu/gk20a.h>
27 28
28#include "gk20a/gk20a.h"
29#include "gv100/perf_gv100.h" 29#include "gv100/perf_gv100.h"
30 30
31static int pmu_set_boot_clk_runcb_fn(void *arg) 31static int pmu_set_boot_clk_runcb_fn(void *arg)
diff --git a/drivers/gpu/nvgpu/gv100/pmu_gv100.c b/drivers/gpu/nvgpu/gv100/pmu_gv100.c
index 9317f6b4..22f50f57 100644
--- a/drivers/gpu/nvgpu/gv100/pmu_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/pmu_gv100.c
@@ -23,8 +23,8 @@
23 */ 23 */
24 24
25#include <nvgpu/pmu.h> 25#include <nvgpu/pmu.h>
26#include <nvgpu/gk20a.h>
26 27
27#include "gk20a/gk20a.h"
28#include "gv100/pmu_gv100.h" 28#include "gv100/pmu_gv100.h"
29 29
30int gv100_pmu_init_acr(struct gk20a *g) 30int gv100_pmu_init_acr(struct gk20a *g)
diff --git a/drivers/gpu/nvgpu/gv100/regops_gv100.c b/drivers/gpu/nvgpu/gv100/regops_gv100.c
index baf57c78..7d4da938 100644
--- a/drivers/gpu/nvgpu/gv100/regops_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/regops_gv100.c
@@ -22,7 +22,8 @@
22 * DEALINGS IN THE SOFTWARE. 22 * DEALINGS IN THE SOFTWARE.
23 */ 23 */
24 24
25#include "gk20a/gk20a.h" 25#include <nvgpu/gk20a.h>
26
26#include "gk20a/regops_gk20a.h" 27#include "gk20a/regops_gk20a.h"
27#include "regops_gv100.h" 28#include "regops_gv100.h"
28 29