diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2017-09-20 13:04:54 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-09-22 09:14:03 -0400 |
commit | a24382d09788ffc8f8688a473a38d37df589b131 (patch) | |
tree | 8ba3708e08ae7b4147e00f1649714cef8051152f /drivers/gpu/nvgpu | |
parent | ca2560af809a12d7aabd349b2b8e73932e70ffba (diff) |
gpu: nvgpu: Add support for WPR info read from FB
update .read_wpr_info HAL of gv11b & gv100
to point to gm20b_fb_read_wpr_info()
JIRA NVGPU-128
Change-Id: I5ece4c72dbe0f9e7827888e2a15d8b7dda6fcb42
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1564684
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gv100/hal_gv100.c | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c index 23ada798..3dfe9e74 100644 --- a/drivers/gpu/nvgpu/gv100/hal_gv100.c +++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c | |||
@@ -373,6 +373,7 @@ static const struct gpu_ops gv100_ops = { | |||
373 | .compressible_page_size = gp10b_fb_compressible_page_size, | 373 | .compressible_page_size = gp10b_fb_compressible_page_size, |
374 | .vpr_info_fetch = gm20b_fb_vpr_info_fetch, | 374 | .vpr_info_fetch = gm20b_fb_vpr_info_fetch, |
375 | .dump_vpr_wpr_info = gm20b_fb_dump_vpr_wpr_info, | 375 | .dump_vpr_wpr_info = gm20b_fb_dump_vpr_wpr_info, |
376 | .read_wpr_info = gm20b_fb_read_wpr_info, | ||
376 | .is_debug_mode_enabled = gm20b_fb_debug_mode_enabled, | 377 | .is_debug_mode_enabled = gm20b_fb_debug_mode_enabled, |
377 | .set_debug_mode = gm20b_fb_set_debug_mode, | 378 | .set_debug_mode = gm20b_fb_set_debug_mode, |
378 | .tlb_invalidate = gk20a_fb_tlb_invalidate, | 379 | .tlb_invalidate = gk20a_fb_tlb_invalidate, |
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index be3f2456..09825b98 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |||
@@ -357,6 +357,7 @@ static const struct gpu_ops gv11b_ops = { | |||
357 | .compressible_page_size = gp10b_fb_compressible_page_size, | 357 | .compressible_page_size = gp10b_fb_compressible_page_size, |
358 | .vpr_info_fetch = gm20b_fb_vpr_info_fetch, | 358 | .vpr_info_fetch = gm20b_fb_vpr_info_fetch, |
359 | .dump_vpr_wpr_info = gm20b_fb_dump_vpr_wpr_info, | 359 | .dump_vpr_wpr_info = gm20b_fb_dump_vpr_wpr_info, |
360 | .read_wpr_info = gm20b_fb_read_wpr_info, | ||
360 | .is_debug_mode_enabled = gm20b_fb_debug_mode_enabled, | 361 | .is_debug_mode_enabled = gm20b_fb_debug_mode_enabled, |
361 | .set_debug_mode = gm20b_fb_set_debug_mode, | 362 | .set_debug_mode = gm20b_fb_set_debug_mode, |
362 | .tlb_invalidate = gk20a_fb_tlb_invalidate, | 363 | .tlb_invalidate = gk20a_fb_tlb_invalidate, |