summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/gv11b/fifo_gv11b.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
index 4050579e..039ca941 100644
--- a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
@@ -493,6 +493,12 @@ static int gv11b_fifo_poll_eng_ctx_status(struct gk20a *g, u32 id,
493 if (ctx_stat == 493 if (ctx_stat ==
494 fifo_engine_status_ctx_status_ctxsw_switch_v()) { 494 fifo_engine_status_ctx_status_ctxsw_switch_v()) {
495 /* Eng save hasn't started yet. Continue polling */ 495 /* Eng save hasn't started yet. Continue polling */
496 if (stall_intr) {
497 /* if stall intr stop polling */
498 *reset_eng_bitmask |= BIT(act_eng_id);
499 ret = 0;
500 break;
501 }
496 502
497 } else if (ctx_stat == 503 } else if (ctx_stat ==
498 fifo_engine_status_ctx_status_valid_v() || 504 fifo_engine_status_ctx_status_valid_v() ||