summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2017-09-20 12:44:26 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-09-22 09:14:02 -0400
commite32cc0108cf2ef5de7a17f0f6c0aa9af7faf23ed (patch)
tree9bd3cbc01e3b23387f58bb1e2fa7de54f6e450c1 /drivers/gpu/nvgpu/gm20b/hal_gm20b.c
parent2197a928c38ae8d518ad18348c7c2106fb56e230 (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/gm20b/hal_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/hal_gm20b.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
index f71c70f5..298d4f2b 100644
--- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
@@ -296,6 +296,7 @@ static const struct gpu_ops gm20b_ops = {
296 .compressible_page_size = gm20b_fb_compressible_page_size, 296 .compressible_page_size = gm20b_fb_compressible_page_size,
297 .vpr_info_fetch = gm20b_fb_vpr_info_fetch, 297 .vpr_info_fetch = gm20b_fb_vpr_info_fetch,
298 .dump_vpr_wpr_info = gm20b_fb_dump_vpr_wpr_info, 298 .dump_vpr_wpr_info = gm20b_fb_dump_vpr_wpr_info,
299 .read_wpr_info = gm20b_fb_read_wpr_info,
299 .is_debug_mode_enabled = gm20b_fb_debug_mode_enabled, 300 .is_debug_mode_enabled = gm20b_fb_debug_mode_enabled,
300 .set_debug_mode = gm20b_fb_set_debug_mode, 301 .set_debug_mode = gm20b_fb_set_debug_mode,
301 .tlb_invalidate = gk20a_fb_tlb_invalidate, 302 .tlb_invalidate = gk20a_fb_tlb_invalidate,