summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/fifo_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/gv11b/fifo_gv11b.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
index dc3b641a..d74ddacd 100644
--- a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
@@ -1075,10 +1075,12 @@ void gv11b_fifo_teardown_ch_tsg(struct gk20a *g, u32 act_eng_bitmask,
1075 } 1075 }
1076 } 1076 }
1077 1077
1078#ifdef CONFIG_GK20A_CTXSW_TRACE
1078 if (refch) 1079 if (refch)
1079 gk20a_ctxsw_trace_channel_reset(g, refch); 1080 gk20a_ctxsw_trace_channel_reset(g, refch);
1080 else if (tsg) 1081 else if (tsg)
1081 gk20a_ctxsw_trace_tsg_reset(g, tsg); 1082 gk20a_ctxsw_trace_tsg_reset(g, tsg);
1083#endif
1082 1084
1083 gk20a_fifo_set_runlist_state(g, runlists_mask, RUNLIST_ENABLED, 1085 gk20a_fifo_set_runlist_state(g, runlists_mask, RUNLIST_ENABLED,
1084 !RUNLIST_INFO_MUTEX_LOCKED); 1086 !RUNLIST_INFO_MUTEX_LOCKED);