summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fifo_gk20a.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
index 3632963a..2e19d585 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
@@ -2820,8 +2820,8 @@ void gk20a_fifo_isr(struct gk20a *g)
2820 g->ops.fifo.handle_ctxsw_timeout(g, fifo_intr); 2820 g->ops.fifo.handle_ctxsw_timeout(g, fifo_intr);
2821 } 2821 }
2822 2822
2823 if (unlikely(fifo_intr & error_intr_mask)) { 2823 if (unlikely((fifo_intr & error_intr_mask) != 0U)) {
2824 clear_intr = fifo_error_isr(g, fifo_intr); 2824 clear_intr |= fifo_error_isr(g, fifo_intr);
2825 } 2825 }
2826 2826
2827 nvgpu_mutex_release(&g->fifo.intr.isr.mutex); 2827 nvgpu_mutex_release(&g->fifo.intr.isr.mutex);