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/mc_gv100.c2
-rw-r--r--drivers/gpu/nvgpu/gv100/nvlink_gv100.c4
-rw-r--r--drivers/gpu/nvgpu/gv100/pmu_gv100.c1
3 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gv100/mc_gv100.c b/drivers/gpu/nvgpu/gv100/mc_gv100.c
index a3f8ab06..5848a180 100644
--- a/drivers/gpu/nvgpu/gv100/mc_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/mc_gv100.c
@@ -22,7 +22,7 @@
22 * DEALINGS IN THE SOFTWARE. 22 * DEALINGS IN THE SOFTWARE.
23 */ 23 */
24 24
25#include <linux/types.h> 25#include <nvgpu/types.h>
26 26
27#include "gk20a/gk20a.h" 27#include "gk20a/gk20a.h"
28 28
diff --git a/drivers/gpu/nvgpu/gv100/nvlink_gv100.c b/drivers/gpu/nvgpu/gv100/nvlink_gv100.c
index d0dfebcf..d27239ae 100644
--- a/drivers/gpu/nvgpu/gv100/nvlink_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/nvlink_gv100.c
@@ -202,7 +202,7 @@ static const struct __nvlink_reginit __nvlink_reginit_per_link_gpu[] = {
202 202
203#define NVL_DEVICE(str) nvlinkip_discovery_common_device_##str##_v() 203#define NVL_DEVICE(str) nvlinkip_discovery_common_device_##str##_v()
204 204
205const char * __gv100_device_type_to_str(u32 type) 205static const char *__gv100_device_type_to_str(u32 type)
206{ 206{
207 if (type == NVL_DEVICE(ioctrl)) 207 if (type == NVL_DEVICE(ioctrl))
208 return "IOCTRL"; 208 return "IOCTRL";
@@ -1259,7 +1259,7 @@ static void gv100_nvlink_nvlipt_intr_enable(struct gk20a *g, u32 link_id,
1259/* 1259/*
1260 * Per-link NVLIPT ISR handler 1260 * Per-link NVLIPT ISR handler
1261 */ 1261 */
1262bool gv100_nvlink_nvlipt_isr(struct gk20a *g, u32 link_id) 1262static bool gv100_nvlink_nvlipt_isr(struct gk20a *g, u32 link_id)
1263{ 1263{
1264 /* 1264 /*
1265 * Interrupt handling happens in leaf handlers. Assume all interrupts 1265 * Interrupt handling happens in leaf handlers. Assume all interrupts
diff --git a/drivers/gpu/nvgpu/gv100/pmu_gv100.c b/drivers/gpu/nvgpu/gv100/pmu_gv100.c
index 113e554b..9317f6b4 100644
--- a/drivers/gpu/nvgpu/gv100/pmu_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/pmu_gv100.c
@@ -25,6 +25,7 @@
25#include <nvgpu/pmu.h> 25#include <nvgpu/pmu.h>
26 26
27#include "gk20a/gk20a.h" 27#include "gk20a/gk20a.h"
28#include "gv100/pmu_gv100.h"
28 29
29int gv100_pmu_init_acr(struct gk20a *g) 30int gv100_pmu_init_acr(struct gk20a *g)
30{ 31{