diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index d99c48fb..69da03e1 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |||
@@ -885,11 +885,9 @@ static void gk20a_free_channel(struct channel_gk20a *ch) | |||
885 | mutex_lock(&g->fifo.gr_reset_mutex); | 885 | mutex_lock(&g->fifo.gr_reset_mutex); |
886 | /* if lock is already taken, a reset is taking place | 886 | /* if lock is already taken, a reset is taking place |
887 | so no need to repeat */ | 887 | so no need to repeat */ |
888 | if (!was_reset) { | 888 | if (!was_reset) |
889 | gk20a_ctxsw_trace_channel_reset(g, ch); | ||
890 | gk20a_fifo_reset_engine(g, | 889 | gk20a_fifo_reset_engine(g, |
891 | g->fifo.deferred_fault_engines); | 890 | g->fifo.deferred_fault_engines); |
892 | } | ||
893 | mutex_unlock(&g->fifo.gr_reset_mutex); | 891 | mutex_unlock(&g->fifo.gr_reset_mutex); |
894 | g->fifo.deferred_fault_engines = 0; | 892 | g->fifo.deferred_fault_engines = 0; |
895 | g->fifo.deferred_reset_pending = false; | 893 | g->fifo.deferred_reset_pending = false; |