summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index d26d8a93..86111321 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -6088,13 +6088,16 @@ int gk20a_gr_isr(struct gk20a *g)
6088 if (need_reset) { 6088 if (need_reset) {
6089 if (tsgid != NVGPU_INVALID_TSG_ID) 6089 if (tsgid != NVGPU_INVALID_TSG_ID)
6090 gk20a_fifo_recover(g, gr_engine_id, 6090 gk20a_fifo_recover(g, gr_engine_id,
6091 tsgid, true, true, true); 6091 tsgid, true, true, true,
6092 RC_TYPE_GR_FAULT);
6092 else if (ch) 6093 else if (ch)
6093 gk20a_fifo_recover(g, gr_engine_id, 6094 gk20a_fifo_recover(g, gr_engine_id,
6094 ch->chid, false, true, true); 6095 ch->chid, false, true, true,
6096 RC_TYPE_GR_FAULT);
6095 else 6097 else
6096 gk20a_fifo_recover(g, gr_engine_id, 6098 gk20a_fifo_recover(g, gr_engine_id,
6097 0, false, false, true); 6099 0, false, false, true,
6100 RC_TYPE_GR_FAULT);
6098 } 6101 }
6099 6102
6100 if (gr_intr && !ch) { 6103 if (gr_intr && !ch) {