diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/fifo_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c index 84d63b91..9c64675f 100644 --- a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | |||
@@ -596,6 +596,9 @@ void gv11b_fifo_reset_pbdma_and_eng_faulted(struct gk20a *g, | |||
596 | nvgpu_log(g, gpu_dbg_intr, "reset faulted pbdma:0x%x eng:0x%x", | 596 | nvgpu_log(g, gpu_dbg_intr, "reset faulted pbdma:0x%x eng:0x%x", |
597 | faulted_pbdma, faulted_engine); | 597 | faulted_pbdma, faulted_engine); |
598 | 598 | ||
599 | if (!refch) | ||
600 | return; | ||
601 | |||
599 | if (gk20a_is_channel_marked_as_tsg(refch)) { | 602 | if (gk20a_is_channel_marked_as_tsg(refch)) { |
600 | tsg = &g->fifo.tsg[refch->tsgid]; | 603 | tsg = &g->fifo.tsg[refch->tsgid]; |
601 | if (faulted_pbdma != FIFO_INVAL_PBDMA_ID) | 604 | if (faulted_pbdma != FIFO_INVAL_PBDMA_ID) |