From 2eea080584b36747d7f8a7d5120d60be25d12242 Mon Sep 17 00:00:00 2001 From: Seema Khowala Date: Tue, 20 Jun 2017 21:50:36 -0700 Subject: 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 Reviewed-on: https://git-master/r/1476108 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: David Martinez Nieto --- drivers/gpu/nvgpu/gm20b/gr_gm20b.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.c') 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) gops->gr.resume_from_pause = gr_gk20a_resume_from_pause; gops->gr.clear_sm_errors = gr_gk20a_clear_sm_errors; gops->gr.tpc_enabled_exceptions = gr_gk20a_tpc_enabled_exceptions; + gops->gr.get_esr_sm_sel = gk20a_gr_get_esr_sm_sel; } -- cgit v1.2.2