summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/regops_gm20b.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/regops_gm20b.h')
-rw-r--r--drivers/gpu/nvgpu/gm20b/regops_gm20b.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/regops_gm20b.h b/drivers/gpu/nvgpu/gm20b/regops_gm20b.h
new file mode 100644
index 00000000..f0246e0e
--- /dev/null
+++ b/drivers/gpu/nvgpu/gm20b/regops_gm20b.h
@@ -0,0 +1,44 @@
1/*
2 *
3 * Tegra GK20A GPU Debugger Driver Register Ops
4 *
5 * Copyright (c) 2013-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_GM20B_H_
26#define __REGOPS_GM20B_H_
27
28struct dbg_session_gk20a;
29
30const struct regop_offset_range *gm20b_get_global_whitelist_ranges(void);
31int gm20b_get_global_whitelist_ranges_count(void);
32const struct regop_offset_range *gm20b_get_context_whitelist_ranges(void);
33int gm20b_get_context_whitelist_ranges_count(void);
34const u32 *gm20b_get_runcontrol_whitelist(void);
35int gm20b_get_runcontrol_whitelist_count(void);
36const struct regop_offset_range *gm20b_get_runcontrol_whitelist_ranges(void);
37int gm20b_get_runcontrol_whitelist_ranges_count(void);
38const u32 *gm20b_get_qctl_whitelist(void);
39int gm20b_get_qctl_whitelist_count(void);
40const struct regop_offset_range *gm20b_get_qctl_whitelist_ranges(void);
41int gm20b_get_qctl_whitelist_ranges_count(void);
42int gm20b_apply_smpc_war(struct dbg_session_gk20a *dbg_s);
43
44#endif /* __REGOPS_GM20B_H_ */