summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b')
-rw-r--r--drivers/gpu/nvgpu/gv11b/acr_gv11b.h8
-rw-r--r--drivers/gpu/nvgpu/gv11b/ce_gv11b.h8
-rw-r--r--drivers/gpu/nvgpu/gv11b/ecc_gv11b.h6
-rw-r--r--drivers/gpu/nvgpu/gv11b/gr_ctx_gv11b.h8
-rw-r--r--drivers/gpu/nvgpu/gv11b/gr_gv11b.h6
-rw-r--r--drivers/gpu/nvgpu/gv11b/hal_gv11b.h8
-rw-r--r--drivers/gpu/nvgpu/gv11b/pmu_gv11b.h8
-rw-r--r--drivers/gpu/nvgpu/gv11b/regops_gv11b.h6
-rw-r--r--drivers/gpu/nvgpu/gv11b/subctx_gv11b.h6
9 files changed, 32 insertions, 32 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/acr_gv11b.h b/drivers/gpu/nvgpu/gv11b/acr_gv11b.h
index 004853be..8529e821 100644
--- a/drivers/gpu/nvgpu/gv11b/acr_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/acr_gv11b.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"),
@@ -20,8 +20,8 @@
20 * DEALINGS IN THE SOFTWARE. 20 * DEALINGS IN THE SOFTWARE.
21 */ 21 */
22 22
23#ifndef __ACR_GV11B_H_ 23#ifndef NVGPU_ACR_GV11B_H
24#define __ACR_GV11B_H_ 24#define NVGPU_ACR_GV11B_H
25 25
26 26
27int gv11b_bootstrap_hs_flcn(struct gk20a *g); 27int gv11b_bootstrap_hs_flcn(struct gk20a *g);
@@ -30,4 +30,4 @@ int gv11b_init_pmu_setup_hw1(struct gk20a *g,
30void gv11b_setup_apertures(struct gk20a *g); 30void gv11b_setup_apertures(struct gk20a *g);
31int gv11b_alloc_blob_space(struct gk20a *g, size_t size, 31int gv11b_alloc_blob_space(struct gk20a *g, size_t size,
32 struct nvgpu_mem *mem); 32 struct nvgpu_mem *mem);
33#endif /*__PMU_GP106_H_*/ 33#endif /* NVGPU_ACR_GV11B_H */
diff --git a/drivers/gpu/nvgpu/gv11b/ce_gv11b.h b/drivers/gpu/nvgpu/gv11b/ce_gv11b.h
index a0c7e0b1..43a891e6 100644
--- a/drivers/gpu/nvgpu/gv11b/ce_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/ce_gv11b.h
@@ -2,7 +2,7 @@
2 * 2 *
3 * Volta GPU series copy engine 3 * Volta GPU series copy engine
4 * 4 *
5 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. 5 * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved.
6 * 6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a 7 * Permission is hereby granted, free of charge, to any person obtaining a
8 * copy of this software and associated documentation files (the "Software"), 8 * copy of this software and associated documentation files (the "Software"),
@@ -22,8 +22,8 @@
22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23 * DEALINGS IN THE SOFTWARE. 23 * DEALINGS IN THE SOFTWARE.
24 */ 24 */
25#ifndef __CE_GV11B_H__ 25#ifndef NVGPU_CE_GV11B_H
26#define __CE_GV11B_H__ 26#define NVGPU_CE_GV11B_H
27 27
28struct gk20a; 28struct gk20a;
29 29
@@ -32,4 +32,4 @@ u32 gv11b_ce_get_num_lce(struct gk20a *g);
32u32 gv11b_ce_get_num_pce(struct gk20a *g); 32u32 gv11b_ce_get_num_pce(struct gk20a *g);
33void gv11b_ce_isr(struct gk20a *g, u32 inst_id, u32 pri_base); 33void gv11b_ce_isr(struct gk20a *g, u32 inst_id, u32 pri_base);
34 34
35#endif /*__CE2_GV11B_H__*/ 35#endif /* NVGPU_CE_GV11B_H */
diff --git a/drivers/gpu/nvgpu/gv11b/ecc_gv11b.h b/drivers/gpu/nvgpu/gv11b/ecc_gv11b.h
index ce0f12b9..3dcce6cc 100644
--- a/drivers/gpu/nvgpu/gv11b/ecc_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/ecc_gv11b.h
@@ -20,9 +20,9 @@
20 * DEALINGS IN THE SOFTWARE. 20 * DEALINGS IN THE SOFTWARE.
21 */ 21 */
22 22
23#ifndef __ECC_GV11B_H__ 23#ifndef NVGPU_ECC_GV11B_H
24#define __ECC_GV11B_H__ 24#define NVGPU_ECC_GV11B_H
25 25
26int gv11b_ecc_init(struct gk20a *g); 26int gv11b_ecc_init(struct gk20a *g);
27 27
28#endif 28#endif /* NVGPU_ECC_GV11B_H */
diff --git a/drivers/gpu/nvgpu/gv11b/gr_ctx_gv11b.h b/drivers/gpu/nvgpu/gv11b/gr_ctx_gv11b.h
index 0a95ab11..c43c2869 100644
--- a/drivers/gpu/nvgpu/gv11b/gr_ctx_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/gr_ctx_gv11b.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * GV11B Graphics Context 2 * GV11B Graphics Context
3 * 3 *
4 * Copyright (c) 2016 - 2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2016 - 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#ifndef __GR_CTX_GV11B_H__ 24#ifndef NVGPU_GR_CTX_GV11B_H
25#define __GR_CTX_GV11B_H__ 25#define NVGPU_GR_CTX_GV11B_H
26 26
27#include "gk20a/gr_ctx_gk20a.h" 27#include "gk20a/gr_ctx_gk20a.h"
28 28
@@ -33,4 +33,4 @@
33int gr_gv11b_get_netlist_name(struct gk20a *g, int index, char *name); 33int gr_gv11b_get_netlist_name(struct gk20a *g, int index, char *name);
34bool gr_gv11b_is_firmware_defined(void); 34bool gr_gv11b_is_firmware_defined(void);
35 35
36#endif /*__GR_CTX_GV11B_H__*/ 36#endif /* NVGPU_GR_CTX_GV11B_H */
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
index 30cc7f0a..a4b8fa91 100644
--- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
@@ -22,8 +22,8 @@
22 * DEALINGS IN THE SOFTWARE. 22 * DEALINGS IN THE SOFTWARE.
23 */ 23 */
24 24
25#ifndef _NVGPU_GR_GV11B_H_ 25#ifndef NVGPU_GR_GV11B_H
26#define _NVGPU_GR_GV11B_H_ 26#define NVGPU_GR_GV11B_H
27 27
28#define EGPC_PRI_BASE 0x580000 28#define EGPC_PRI_BASE 0x580000
29#define EGPC_PRI_SHARED_BASE 0x480000 29#define EGPC_PRI_SHARED_BASE 0x480000
@@ -258,4 +258,4 @@ void gr_gv11b_set_skedcheck(struct gk20a *g, u32 data);
258void gr_gv11b_set_go_idle_timeout(struct gk20a *g, u32 data); 258void gr_gv11b_set_go_idle_timeout(struct gk20a *g, u32 data);
259void gr_gv11b_set_coalesce_buffer_size(struct gk20a *g, u32 data); 259void gr_gv11b_set_coalesce_buffer_size(struct gk20a *g, u32 data);
260void gr_gv11b_set_tex_in_dbg(struct gk20a *g, u32 data); 260void gr_gv11b_set_tex_in_dbg(struct gk20a *g, u32 data);
261#endif 261#endif /* NVGPU_GR_GV11B_H */
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.h b/drivers/gpu/nvgpu/gv11b/hal_gv11b.h
index 668353dc..d5b7ad01 100644
--- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * GV11B Tegra HAL interface 2 * GV11B Tegra HAL interface
3 * 3 *
4 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2016-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,10 +22,10 @@
22 * DEALINGS IN THE SOFTWARE. 22 * DEALINGS IN THE SOFTWARE.
23 */ 23 */
24 24
25#ifndef _NVGPU_HAL_GV11B_H 25#ifndef NVGPU_HAL_GV11B_H
26#define _NVGPU_HAL_GV11B_H 26#define NVGPU_HAL_GV11B_H
27struct gk20a; 27struct gk20a;
28 28
29int gv11b_init_hal(struct gk20a *gops); 29int gv11b_init_hal(struct gk20a *gops);
30int gv11b_get_litter_value(struct gk20a *g, int value); 30int gv11b_get_litter_value(struct gk20a *g, int value);
31#endif 31#endif /* NVGPU_HAL_GV11B_H */
diff --git a/drivers/gpu/nvgpu/gv11b/pmu_gv11b.h b/drivers/gpu/nvgpu/gv11b/pmu_gv11b.h
index dd6db10c..9cb6b222 100644
--- a/drivers/gpu/nvgpu/gv11b/pmu_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/pmu_gv11b.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * GV11B PMU 2 * GV11B PMU
3 * 3 *
4 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2016-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,8 +22,8 @@
22 * DEALINGS IN THE SOFTWARE. 22 * DEALINGS IN THE SOFTWARE.
23 */ 23 */
24 24
25#ifndef __PMU_GV11B_H_ 25#ifndef NVGPU_PMU_GV11B_H
26#define __PMU_GV11B_H_ 26#define NVGPU_PMU_GV11B_H
27 27
28struct gk20a; 28struct gk20a;
29 29
@@ -37,4 +37,4 @@ int gv11b_pmu_setup_elpg(struct gk20a *g);
37 37
38u32 gv11b_pmu_get_irqdest(struct gk20a *g); 38u32 gv11b_pmu_get_irqdest(struct gk20a *g);
39void gv11b_pmu_handle_ext_irq(struct gk20a *g, u32 intr0); 39void gv11b_pmu_handle_ext_irq(struct gk20a *g, u32 intr0);
40#endif /*__PMU_GV11B_H_*/ 40#endif /* NVGPU_PMU_GV11B_H */
diff --git a/drivers/gpu/nvgpu/gv11b/regops_gv11b.h b/drivers/gpu/nvgpu/gv11b/regops_gv11b.h
index b605c0a6..b445a2b1 100644
--- a/drivers/gpu/nvgpu/gv11b/regops_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/regops_gv11b.h
@@ -22,8 +22,8 @@
22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23 * DEALINGS IN THE SOFTWARE. 23 * DEALINGS IN THE SOFTWARE.
24 */ 24 */
25#ifndef __REGOPS_GV11B_H_ 25#ifndef NVGPU_REGOPS_GV11B_H
26#define __REGOPS_GV11B_H_ 26#define NVGPU_REGOPS_GV11B_H
27 27
28const struct regop_offset_range *gv11b_get_global_whitelist_ranges(void); 28const struct regop_offset_range *gv11b_get_global_whitelist_ranges(void);
29u64 gv11b_get_global_whitelist_ranges_count(void); 29u64 gv11b_get_global_whitelist_ranges_count(void);
@@ -39,4 +39,4 @@ const struct regop_offset_range *gv11b_get_qctl_whitelist_ranges(void);
39u64 gv11b_get_qctl_whitelist_ranges_count(void); 39u64 gv11b_get_qctl_whitelist_ranges_count(void);
40int gv11b_apply_smpc_war(struct dbg_session_gk20a *dbg_s); 40int gv11b_apply_smpc_war(struct dbg_session_gk20a *dbg_s);
41 41
42#endif /* __REGOPS_GV11B_H_ */ 42#endif /* NVGPU_REGOPS_GV11B_H */
diff --git a/drivers/gpu/nvgpu/gv11b/subctx_gv11b.h b/drivers/gpu/nvgpu/gv11b/subctx_gv11b.h
index 71d56502..39f901a9 100644
--- a/drivers/gpu/nvgpu/gv11b/subctx_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/subctx_gv11b.h
@@ -22,8 +22,8 @@
22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23 * DEALINGS IN THE SOFTWARE. 23 * DEALINGS IN THE SOFTWARE.
24 */ 24 */
25#ifndef __SUBCONTEXT_GV11B_H__ 25#ifndef NVGPU_SUBCTX_GV11B_H
26#define __SUBCONTEXT_GV11B_H__ 26#define NVGPU_SUBCTX_GV11B_H
27 27
28int gv11b_alloc_subctx_header(struct channel_gk20a *c); 28int gv11b_alloc_subctx_header(struct channel_gk20a *c);
29 29
@@ -35,4 +35,4 @@ void gv11b_init_subcontext_pdb(struct vm_gk20a *vm,
35 struct nvgpu_mem *inst_block, 35 struct nvgpu_mem *inst_block,
36 bool replayable); 36 bool replayable);
37 37
38#endif /* __SUBCONTEXT_GV11B_H__ */ 38#endif /* NVGPU_SUBCTX_GV11B_H */