summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/regops_gv11b.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/regops_gv11b.h')
-rw-r--r--drivers/gpu/nvgpu/gv11b/regops_gv11b.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/regops_gv11b.h b/drivers/gpu/nvgpu/gv11b/regops_gv11b.h
new file mode 100644
index 00000000..0ee2edfe
--- /dev/null
+++ b/drivers/gpu/nvgpu/gv11b/regops_gv11b.h
@@ -0,0 +1,42 @@
1/*
2 *
3 * Tegra GV11B GPU Driver Register Ops
4 *
5 * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a
8 * copy of this software and associated documentation files (the "Software"),
9 * to deal in the Software without restriction, including without limitation
10 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
11 * and/or sell copies of the Software, and to permit persons to whom the
12 * Software is furnished to do so, subject to the following conditions:
13 *
14 * The above copyright notice and this permission notice shall be included in
15 * all copies or substantial portions of the Software.
16 *
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23 * DEALINGS IN THE SOFTWARE.
24 */
25#ifndef __REGOPS_GV11B_H_
26#define __REGOPS_GV11B_H_
27
28const struct regop_offset_range *gv11b_get_global_whitelist_ranges(void);
29int gv11b_get_global_whitelist_ranges_count(void);
30const struct regop_offset_range *gv11b_get_context_whitelist_ranges(void);
31int gv11b_get_context_whitelist_ranges_count(void);
32const u32 *gv11b_get_runcontrol_whitelist(void);
33int gv11b_get_runcontrol_whitelist_count(void);
34const struct regop_offset_range *gv11b_get_runcontrol_whitelist_ranges(void);
35int gv11b_get_runcontrol_whitelist_ranges_count(void);
36const u32 *gv11b_get_qctl_whitelist(void);
37int gv11b_get_qctl_whitelist_count(void);
38const struct regop_offset_range *gv11b_get_qctl_whitelist_ranges(void);
39int gv11b_get_qctl_whitelist_ranges_count(void);
40int gv11b_apply_smpc_war(struct dbg_session_gk20a *dbg_s);
41
42#endif /* __REGOPS_GV11B_H_ */