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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
index da73d95d..58175141 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
@@ -853,6 +853,7 @@ static void gk20a_free_channel(struct channel_gk20a *ch)
853 unsigned long timeout = gk20a_get_gr_idle_timeout(g); 853 unsigned long timeout = gk20a_get_gr_idle_timeout(g);
854 struct dbg_session_gk20a *dbg_s; 854 struct dbg_session_gk20a *dbg_s;
855 bool was_reset; 855 bool was_reset;
856
856 gk20a_dbg_fn(""); 857 gk20a_dbg_fn("");
857 858
858 WARN_ON(ch->g == NULL); 859 WARN_ON(ch->g == NULL);
@@ -901,6 +902,7 @@ static void gk20a_free_channel(struct channel_gk20a *ch)
901 /* if lock is already taken, a reset is taking place 902 /* if lock is already taken, a reset is taking place
902 so no need to repeat */ 903 so no need to repeat */
903 if (!was_reset) { 904 if (!was_reset) {
905 trace_gk20a_channel_reset(ch->hw_chid, ch->tsgid);
904 gk20a_fifo_reset_engine(g, 906 gk20a_fifo_reset_engine(g,
905 g->fifo.deferred_fault_engines); 907 g->fifo.deferred_fault_engines);
906 } 908 }