diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index 982cfac8..3b46b807 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -6378,6 +6378,16 @@ static int gk20a_gr_handle_gpc_exception(struct gk20a *g, bool *post_event, | |||
6378 | gpc_exception); | 6378 | gpc_exception); |
6379 | ret = ret ? ret : ret_ecc; | 6379 | ret = ret ? ret : ret_ecc; |
6380 | } | 6380 | } |
6381 | |||
6382 | /* Handle GPCMMU exceptions */ | ||
6383 | if (g->ops.gr.handle_gpc_gpcmmu_exception) { | ||
6384 | int ret_mmu = 0; | ||
6385 | |||
6386 | ret_mmu = g->ops.gr.handle_gpc_gpcmmu_exception(g, gpc, | ||
6387 | gpc_exception); | ||
6388 | ret = ret ? ret : ret_mmu; | ||
6389 | } | ||
6390 | |||
6381 | } | 6391 | } |
6382 | 6392 | ||
6383 | return ret; | 6393 | return ret; |