diff options
author | Kevin Huang <kevinh@nvidia.com> | 2014-05-09 14:41:26 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:06 -0400 |
commit | 1d9eba07c58b0a30f479b233371c939180a0e419 (patch) | |
tree | 1b4081a723834d8b295a147e85f6d7b7b205a88c /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 5cd313e20221c93008f1d56ac223d6e08966505e (diff) |
gpu: nvgpu: add HAL for regops
Bug 1500195
Change-Id: I5545d1a95a58e7daa5a74cc20f3fc6828774fc42
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/488507
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
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 { |