summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
index eae2bdae..a8a39302 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
@@ -910,11 +910,8 @@ static void gk20a_free_channel(struct channel_gk20a *ch)
910 /* if lock is already taken, a reset is taking place 910 /* if lock is already taken, a reset is taking place
911 so no need to repeat */ 911 so no need to repeat */
912 if (!was_reset) 912 if (!was_reset)
913 gk20a_fifo_reset_engine(g, 913 gk20a_fifo_deferred_reset(g, ch);
914 g->fifo.deferred_fault_engines);
915 mutex_unlock(&g->fifo.gr_reset_mutex); 914 mutex_unlock(&g->fifo.gr_reset_mutex);
916 g->fifo.deferred_fault_engines = 0;
917 g->fifo.deferred_reset_pending = false;
918 } 915 }
919 mutex_unlock(&f->deferred_reset_mutex); 916 mutex_unlock(&f->deferred_reset_mutex);
920 917