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/acr_gv100.h29
-rw-r--r--drivers/gpu/nvgpu/gv100/gr_ctx_gv100.h3
-rw-r--r--drivers/gpu/nvgpu/gv100/gr_gv100.c2
-rw-r--r--drivers/gpu/nvgpu/gv100/hal_gv100.c2
-rw-r--r--drivers/gpu/nvgpu/gv100/hal_gv100.h8
5 files changed, 37 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/gv100/acr_gv100.h b/drivers/gpu/nvgpu/gv100/acr_gv100.h
new file mode 100644
index 00000000..e5e7c454
--- /dev/null
+++ b/drivers/gpu/nvgpu/gv100/acr_gv100.h
@@ -0,0 +1,29 @@
1/*
2 * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
10 *
11 * The above copyright notice and this permission notice shall be included in
12 * all copies or substantial portions of the Software.
13 *
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20 * DEALINGS IN THE SOFTWARE.
21 */
22
23#ifndef _NVGPU_ACR_GV100_H_
24#define _NVGPU_ACR_GV100_H_
25
26#define GV100_FECS_UCODE_SIG "gv100/fecs_sig.bin"
27#define GV100_GPCCS_UCODE_SIG "gv100/gpccs_sig.bin"
28
29#endif
diff --git a/drivers/gpu/nvgpu/gv100/gr_ctx_gv100.h b/drivers/gpu/nvgpu/gv100/gr_ctx_gv100.h
index 2302d988..649a6b21 100644
--- a/drivers/gpu/nvgpu/gv100/gr_ctx_gv100.h
+++ b/drivers/gpu/nvgpu/gv100/gr_ctx_gv100.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
@@ -23,7 +23,6 @@
23#define __GR_CTX_GV100_H__ 23#define __GR_CTX_GV100_H__
24 24
25#include "gk20a/gr_ctx_gk20a.h" 25#include "gk20a/gr_ctx_gk20a.h"
26#include "nvgpu_gpuid_t19x.h"
27 26
28/* production netlist, one and only one from below */ 27/* production netlist, one and only one from below */
29#define GV100_NETLIST_IMAGE_FW_NAME GK20A_NETLIST_IMAGE_D 28#define GV100_NETLIST_IMAGE_FW_NAME GK20A_NETLIST_IMAGE_D
diff --git a/drivers/gpu/nvgpu/gv100/gr_gv100.c b/drivers/gpu/nvgpu/gv100/gr_gv100.c
index f90fd075..0fa05714 100644
--- a/drivers/gpu/nvgpu/gv100/gr_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/gr_gv100.c
@@ -323,7 +323,7 @@ u32 gr_gv100_get_patch_slots(struct gk20a *g)
323 /* 323 /*
324 * We need this for all subcontexts 324 * We need this for all subcontexts
325 */ 325 */
326 size *= f->t19x.max_subctx_count; 326 size *= f->max_subctx_count;
327 327
328 /* 328 /*
329 * Add space for a partition mode change as well 329 * Add space for a partition mode change as well
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c
index ca41a90b..6103b923 100644
--- a/drivers/gpu/nvgpu/gv100/hal_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c
@@ -79,6 +79,7 @@
79#include "gv11b/dbg_gpu_gv11b.h" 79#include "gv11b/dbg_gpu_gv11b.h"
80#include "gv11b/hal_gv11b.h" 80#include "gv11b/hal_gv11b.h"
81#include "gv100/gr_gv100.h" 81#include "gv100/gr_gv100.h"
82#include "gv11b/gr_gv11b.h"
82#include "gv11b/mc_gv11b.h" 83#include "gv11b/mc_gv11b.h"
83#include "gv11b/ltc_gv11b.h" 84#include "gv11b/ltc_gv11b.h"
84#include "gv11b/gv11b.h" 85#include "gv11b/gv11b.h"
@@ -106,7 +107,6 @@
106#include <nvgpu/bus.h> 107#include <nvgpu/bus.h>
107#include <nvgpu/debug.h> 108#include <nvgpu/debug.h>
108#include <nvgpu/enabled.h> 109#include <nvgpu/enabled.h>
109#include <nvgpu/enabled_t19x.h>
110#include <nvgpu/ctxsw_trace.h> 110#include <nvgpu/ctxsw_trace.h>
111 111
112#include <nvgpu/hw/gv100/hw_proj_gv100.h> 112#include <nvgpu/hw/gv100/hw_proj_gv100.h>
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.h b/drivers/gpu/nvgpu/gv100/hal_gv100.h
index 7dcf1d77..7564947e 100644
--- a/drivers/gpu/nvgpu/gv100/hal_gv100.h
+++ b/drivers/gpu/nvgpu/gv100/hal_gv100.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * GV100 Tegra HAL interface 2 * GV100 Tegra HAL interface
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"),
@@ -22,9 +22,11 @@
22 * DEALINGS IN THE SOFTWARE. 22 * DEALINGS IN THE SOFTWARE.
23 */ 23 */
24 24
25#ifndef _NVGPU_HAL_GV11B_H 25#ifndef _NVGPU_HAL_GV100_H
26#define _NVGPU_HAL_GV11B_H 26#define _NVGPU_HAL_GV100_H
27
27struct gk20a; 28struct gk20a;
28 29
29int gv100_init_hal(struct gk20a *gops); 30int gv100_init_hal(struct gk20a *gops);
31
30#endif 32#endif