diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index de234972..fc97fcb9 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -298,6 +298,24 @@ struct gpu_ops { | |||
298 | int (*suspend_clk_support)(struct gk20a *g); | 298 | int (*suspend_clk_support)(struct gk20a *g); |
299 | } clk; | 299 | } clk; |
300 | bool privsecurity; | 300 | bool privsecurity; |
301 | struct { | ||
302 | const struct regop_offset_range* ( | ||
303 | *get_global_whitelist_ranges)(void); | ||
304 | int (*get_global_whitelist_ranges_count)(void); | ||
305 | const struct regop_offset_range* ( | ||
306 | *get_context_whitelist_ranges)(void); | ||
307 | int (*get_context_whitelist_ranges_count)(void); | ||
308 | const u32* (*get_runcontrol_whitelist)(void); | ||
309 | int (*get_runcontrol_whitelist_count)(void); | ||
310 | const struct regop_offset_range* ( | ||
311 | *get_runcontrol_whitelist_ranges)(void); | ||
312 | int (*get_runcontrol_whitelist_ranges_count)(void); | ||
313 | const u32* (*get_qctl_whitelist)(void); | ||
314 | int (*get_qctl_whitelist_count)(void); | ||
315 | const struct regop_offset_range* ( | ||
316 | *get_qctl_whitelist_ranges)(void); | ||
317 | int (*get_qctl_whitelist_ranges_count)(void); | ||
318 | } regops; | ||
301 | }; | 319 | }; |
302 | 320 | ||
303 | struct gk20a { | 321 | struct gk20a { |