diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c index 9421c017..27a3992d 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | |||
@@ -1053,8 +1053,13 @@ static bool gk20a_fifo_handle_mmu_fault( | |||
1053 | mutex_lock(&g->fifo.gr_reset_mutex); | 1053 | mutex_lock(&g->fifo.gr_reset_mutex); |
1054 | /* if lock is already taken, a reset is taking place | 1054 | /* if lock is already taken, a reset is taking place |
1055 | so no need to repeat */ | 1055 | so no need to repeat */ |
1056 | if (!was_reset) | 1056 | if (!was_reset) { |
1057 | trace_gk20a_channel_reset( | ||
1058 | ch ? ch->hw_chid : ~0, | ||
1059 | tsg ? tsg->tsgid : | ||
1060 | NVGPU_INVALID_TSG_ID); | ||
1057 | gk20a_fifo_reset_engine(g, engine_id); | 1061 | gk20a_fifo_reset_engine(g, engine_id); |
1062 | } | ||
1058 | mutex_unlock(&g->fifo.gr_reset_mutex); | 1063 | mutex_unlock(&g->fifo.gr_reset_mutex); |
1059 | } | 1064 | } |
1060 | /* disable the channel/TSG from hw and increment | 1065 | /* disable the channel/TSG from hw and increment |