diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/regops_gp106.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/regops_gp106.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/regops_gp106.h b/drivers/gpu/nvgpu/gp106/regops_gp106.h new file mode 100644 index 00000000..801e6f1c --- /dev/null +++ b/drivers/gpu/nvgpu/gp106/regops_gp106.h | |||
@@ -0,0 +1,42 @@ | |||
1 | /* | ||
2 | * | ||
3 | * Tegra GP106 GPU Debugger Driver Register Ops | ||
4 | * | ||
5 | * Copyright (c) 2016-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_GP106_H_ | ||
26 | #define __REGOPS_GP106_H_ | ||
27 | |||
28 | const struct regop_offset_range *gp106_get_global_whitelist_ranges(void); | ||
29 | int gp106_get_global_whitelist_ranges_count(void); | ||
30 | const struct regop_offset_range *gp106_get_context_whitelist_ranges(void); | ||
31 | int gp106_get_context_whitelist_ranges_count(void); | ||
32 | const u32 *gp106_get_runcontrol_whitelist(void); | ||
33 | int gp106_get_runcontrol_whitelist_count(void); | ||
34 | const struct regop_offset_range *gp106_get_runcontrol_whitelist_ranges(void); | ||
35 | int gp106_get_runcontrol_whitelist_ranges_count(void); | ||
36 | const u32 *gp106_get_qctl_whitelist(void); | ||
37 | int gp106_get_qctl_whitelist_count(void); | ||
38 | const struct regop_offset_range *gp106_get_qctl_whitelist_ranges(void); | ||
39 | int gp106_get_qctl_whitelist_ranges_count(void); | ||
40 | int gp106_apply_smpc_war(struct dbg_session_gk20a *dbg_s); | ||
41 | |||
42 | #endif /* __REGOPS_GP106_H_ */ | ||