summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
diff options
context:
space:
mode:
authorAdeel Raza <araza@nvidia.com>2015-06-25 18:40:12 -0400
committerAdeel Raza <araza@nvidia.com>2016-01-29 17:40:11 -0500
commitf0a9ce0469314711ddb5a8baf6bf88615b71c59e (patch)
tree8f09a553c123f3a5b1bb7c5dd7a260a1f363b894 /drivers/gpu/nvgpu/gm20b/gr_gm20b.c
parent9e02111a768ab631a6719c1eae8d7c03e6e89c23 (diff)
gpu: nvgpu: SM/TEX exception handling support
Add TEX exception handling support. Also make SM exception handler into a function pointer, which should allow different chips to implement their own SM exception handling routine. Bug 1635727 Bug 1637486 Change-Id: I429905726c1840c11e83780843d82729495dc6a5 Signed-off-by: Adeel Raza <araza@nvidia.com> Reviewed-on: http://git-master/r/935329
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_gm20b.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
index a80cef8f..ab1b166d 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
@@ -1229,4 +1229,6 @@ void gm20b_init_gr(struct gpu_ops *gops)
1229 gops->gr.get_access_map = gr_gm20b_get_access_map; 1229 gops->gr.get_access_map = gr_gm20b_get_access_map;
1230 gops->gr.handle_fecs_error = gk20a_gr_handle_fecs_error; 1230 gops->gr.handle_fecs_error = gk20a_gr_handle_fecs_error;
1231 gops->gr.mask_hww_warp_esr = gk20a_mask_hww_warp_esr; 1231 gops->gr.mask_hww_warp_esr = gk20a_mask_hww_warp_esr;
1232 gops->gr.handle_sm_exception = gr_gk20a_handle_sm_exception;
1233 gops->gr.handle_tex_exception = gr_gk20a_handle_tex_exception;
1232} 1234}