diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/fifo_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c index d8976608..11b393e5 100644 --- a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | |||
@@ -1306,7 +1306,8 @@ bool gv11b_fifo_handle_sched_error(struct gk20a *g) | |||
1306 | 1306 | ||
1307 | if (sched_error == SCHED_ERROR_CODE_BAD_TSG ) { | 1307 | if (sched_error == SCHED_ERROR_CODE_BAD_TSG ) { |
1308 | /* id is unknown, preempt all runlists and do recovery */ | 1308 | /* id is unknown, preempt all runlists and do recovery */ |
1309 | gk20a_fifo_recover(g, 0, 0, false, false, false); | 1309 | gk20a_fifo_recover(g, 0, 0, false, false, false, |
1310 | RC_TYPE_SCHED_ERR); | ||
1310 | } | 1311 | } |
1311 | 1312 | ||
1312 | return false; | 1313 | return false; |
@@ -1465,7 +1466,8 @@ bool gv11b_fifo_handle_ctxsw_timeout(struct gk20a *g, u32 fifo_intr) | |||
1465 | /* Cancel all channels' timeout */ | 1466 | /* Cancel all channels' timeout */ |
1466 | gk20a_channel_timeout_restart_all_channels(g); | 1467 | gk20a_channel_timeout_restart_all_channels(g); |
1467 | gk20a_fifo_recover(g, BIT(active_eng_id), tsgid, | 1468 | gk20a_fifo_recover(g, BIT(active_eng_id), tsgid, |
1468 | true, true, verbose); | 1469 | true, true, verbose, |
1470 | RC_TYPE_CTXSW_TIMEOUT); | ||
1469 | } else { | 1471 | } else { |
1470 | gk20a_dbg_info( | 1472 | gk20a_dbg_info( |
1471 | "fifo is waiting for ctx switch: " | 1473 | "fifo is waiting for ctx switch: " |