summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fifo_gk20a.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
index 396c5ee5..b0e2ce1f 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
@@ -1083,10 +1083,10 @@ static bool gk20a_fifo_handle_mmu_fault(
1083 /* if lock is already taken, a reset is taking place 1083 /* if lock is already taken, a reset is taking place
1084 so no need to repeat */ 1084 so no need to repeat */
1085 if (!was_reset) { 1085 if (!was_reset) {
1086 trace_gk20a_channel_reset( 1086 if (ch)
1087 ch ? ch->hw_chid : ~0, 1087 gk20a_ctxsw_trace_channel_reset(g, ch);
1088 tsg ? tsg->tsgid : 1088 else
1089 NVGPU_INVALID_TSG_ID); 1089 gk20a_ctxsw_trace_tsg_reset(g, tsg);
1090 gk20a_fifo_reset_engine(g, engine_id); 1090 gk20a_fifo_reset_engine(g, engine_id);
1091 } 1091 }
1092 mutex_unlock(&g->fifo.gr_reset_mutex); 1092 mutex_unlock(&g->fifo.gr_reset_mutex);