diff options
author | Seema Khowala <seemaj@nvidia.com> | 2017-06-21 00:50:36 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-29 16:28:54 -0400 |
commit | 2eea080584b36747d7f8a7d5120d60be25d12242 (patch) | |
tree | ee3e9c817ce917c0daf4352d563334aaa096e003 /drivers/gpu/nvgpu/gm20b | |
parent | 02d1e7ae979eedf74a27f0ec57bde85c06ba2d35 (diff) |
gpu: nvgpu: Support multiple SM for t19x
-Add sm input param for handle_sm_exception and
pre_process_sm_exception for gr ops/functions.
-Add functions to calculate gpc and tpc reg offsets.
-Add function to find SMs which raised SM exception.
JIRA GPUT19X-75
Change-Id: I257e7342ddabadb1556c9551c50a54d34b0f9d1e
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: https://git-master/r/1476108
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: David Martinez Nieto <dmartineznie@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/gr_gm20b.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c index b7fb1ac5..c84d2109 100644 --- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c | |||
@@ -1628,4 +1628,5 @@ void gm20b_init_gr(struct gpu_ops *gops) | |||
1628 | gops->gr.resume_from_pause = gr_gk20a_resume_from_pause; | 1628 | gops->gr.resume_from_pause = gr_gk20a_resume_from_pause; |
1629 | gops->gr.clear_sm_errors = gr_gk20a_clear_sm_errors; | 1629 | gops->gr.clear_sm_errors = gr_gk20a_clear_sm_errors; |
1630 | gops->gr.tpc_enabled_exceptions = gr_gk20a_tpc_enabled_exceptions; | 1630 | gops->gr.tpc_enabled_exceptions = gr_gk20a_tpc_enabled_exceptions; |
1631 | gops->gr.get_esr_sm_sel = gk20a_gr_get_esr_sm_sel; | ||
1631 | } | 1632 | } |