diff options
author | Anup Mahindre <amahindre@nvidia.com> | 2018-09-21 02:22:47 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-27 18:06:37 -0400 |
commit | 30b571e31c7f8ee26fc58864272bc7c7e083d377 (patch) | |
tree | 9c45ffa9c6df41880163884ebdbab57a9920d041 /drivers/gpu/nvgpu/gv100 | |
parent | f89ea110417e1c83cf21f495d6da7cdc8138a29f (diff) |
gpu: nvgpu: Add gv11b_gr_clear_sm_error_state
All chips were currently using gm20b_gr_clear_sm_error_state
It was wrong for chips based on volta and later as the implementation didn't
consider non pes-aware vsms mapping
Add new HAL implementation for clear_sm_error_state for volta based and later
chips to fix this.
Bug 200448172
Change-Id: I65988c8cbb35d13089ac628e8333d9a3b58e0eb1
Signed-off-by: Anup Mahindre <amahindre@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1837188
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv100')
-rw-r--r-- | drivers/gpu/nvgpu/gv100/hal_gv100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c index 4f50b13f..2a381f55 100644 --- a/drivers/gpu/nvgpu/gv100/hal_gv100.c +++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c | |||
@@ -383,7 +383,7 @@ static const struct gpu_ops gv100_ops = { | |||
383 | .update_hwpm_ctxsw_mode = gr_gk20a_update_hwpm_ctxsw_mode, | 383 | .update_hwpm_ctxsw_mode = gr_gk20a_update_hwpm_ctxsw_mode, |
384 | .init_hwpm_pmm_register = gr_gv100_init_hwpm_pmm_register, | 384 | .init_hwpm_pmm_register = gr_gv100_init_hwpm_pmm_register, |
385 | .record_sm_error_state = gv11b_gr_record_sm_error_state, | 385 | .record_sm_error_state = gv11b_gr_record_sm_error_state, |
386 | .clear_sm_error_state = gm20b_gr_clear_sm_error_state, | 386 | .clear_sm_error_state = gv11b_gr_clear_sm_error_state, |
387 | .suspend_contexts = gr_gp10b_suspend_contexts, | 387 | .suspend_contexts = gr_gp10b_suspend_contexts, |
388 | .resume_contexts = gr_gk20a_resume_contexts, | 388 | .resume_contexts = gr_gk20a_resume_contexts, |
389 | .get_preemption_mode_flags = gr_gp10b_get_preemption_mode_flags, | 389 | .get_preemption_mode_flags = gr_gp10b_get_preemption_mode_flags, |