diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index 3486076e..4d41f9ff 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -6348,6 +6348,15 @@ static int gk20a_gr_handle_gpc_exception(struct gk20a *g, bool *post_event, | |||
6348 | * exceptions to be cleared */ | 6348 | * exceptions to be cleared */ |
6349 | gk20a_gr_clear_sm_hww(g, gpc, tpc, global_esr); | 6349 | gk20a_gr_clear_sm_hww(g, gpc, tpc, global_esr); |
6350 | } | 6350 | } |
6351 | |||
6352 | /* Handle GCC exception */ | ||
6353 | if(gr_gpc0_gpccs_gpc_exception_gcc_v(gpc_exception) && | ||
6354 | g->ops.gr.handle_gcc_exception) { | ||
6355 | int gcc_ret = 0; | ||
6356 | gcc_ret = g->ops.gr.handle_gcc_exception(g, gpc, tpc, | ||
6357 | post_event, fault_ch, hww_global_esr); | ||
6358 | ret = ret ? ret : gcc_ret; | ||
6359 | } | ||
6351 | } | 6360 | } |
6352 | 6361 | ||
6353 | return ret; | 6362 | return ret; |