diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2017-09-20 12:44:26 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-09-22 09:14:02 -0400 |
commit | e32cc0108cf2ef5de7a17f0f6c0aa9af7faf23ed (patch) | |
tree | 9bd3cbc01e3b23387f58bb1e2fa7de54f6e450c1 /drivers/gpu/nvgpu/gk20a | |
parent | 2197a928c38ae8d518ad18348c7c2106fb56e230 (diff) |
gpu: nvgpu: read WPR info from fb
- Added function to read WPR info from FB
MMU registers
- Added HAL to point wpr info read function
- Replaced wpr info read from MC with HAL
- Removed debugfs header include from acr files.
JIRA NVGPU-128
Change-Id: I5ebec46bfe03b9200f2aa569f2e5a780a715616d
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1564683
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 48b34db7..7eee2d51 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -432,6 +432,8 @@ struct gpu_ops { | |||
432 | unsigned int (*compressible_page_size)(struct gk20a *g); | 432 | unsigned int (*compressible_page_size)(struct gk20a *g); |
433 | void (*dump_vpr_wpr_info)(struct gk20a *g); | 433 | void (*dump_vpr_wpr_info)(struct gk20a *g); |
434 | int (*vpr_info_fetch)(struct gk20a *g); | 434 | int (*vpr_info_fetch)(struct gk20a *g); |
435 | void (*read_wpr_info)(struct gk20a *g, | ||
436 | struct wpr_carveout_info *inf); | ||
435 | bool (*is_debug_mode_enabled)(struct gk20a *g); | 437 | bool (*is_debug_mode_enabled)(struct gk20a *g); |
436 | void (*set_debug_mode)(struct gk20a *g, bool enable); | 438 | void (*set_debug_mode)(struct gk20a *g, bool enable); |
437 | void (*tlb_invalidate)(struct gk20a *g, struct nvgpu_mem *pdb); | 439 | void (*tlb_invalidate)(struct gk20a *g, struct nvgpu_mem *pdb); |