diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c index a035cd87..39cb1174 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | |||
@@ -1053,16 +1053,11 @@ static bool gk20a_fifo_handle_mmu_fault( | |||
1053 | verbose = | 1053 | verbose = |
1054 | gk20a_fifo_set_ctx_mmu_error_tsg(g, tsg); | 1054 | gk20a_fifo_set_ctx_mmu_error_tsg(g, tsg); |
1055 | 1055 | ||
1056 | gk20a_fifo_abort_tsg(g, ch->tsgid); | 1056 | gk20a_fifo_abort_tsg(g, tsg->tsgid); |
1057 | 1057 | ||
1058 | /* put back the ref taken early above */ | 1058 | /* put back the ref taken early above */ |
1059 | if (referenced_channel) { | 1059 | if (referenced_channel) |
1060 | gk20a_channel_put(ch); | 1060 | gk20a_channel_put(ch); |
1061 | } else { | ||
1062 | gk20a_err(dev_from_gk20a(g), | ||
1063 | "mmu error in freed tsg channel %d on tsgid %d", | ||
1064 | ch->hw_chid, ch->tsgid); | ||
1065 | } | ||
1066 | } else if (ch) { | 1061 | } else if (ch) { |
1067 | if (referenced_channel) { | 1062 | if (referenced_channel) { |
1068 | if (!g->fifo.deferred_reset_pending) | 1063 | if (!g->fifo.deferred_reset_pending) |