diff options
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index 271c384a..57a02622 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -6260,18 +6260,7 @@ int gk20a_gr_isr(struct gk20a *g) | |||
6260 | 6260 | ||
6261 | /* signal clients waiting on an event */ | 6261 | /* signal clients waiting on an event */ |
6262 | if (gk20a_gr_sm_debugger_attached(g) && post_event && fault_ch) { | 6262 | if (gk20a_gr_sm_debugger_attached(g) && post_event && fault_ch) { |
6263 | if (gk20a_is_channel_marked_as_tsg(fault_ch)) { | 6263 | gk20a_dbg_gpu_post_events(fault_ch); |
6264 | struct tsg_gk20a *tsg = &g->fifo.tsg[fault_ch->tsgid]; | ||
6265 | struct channel_gk20a *__ch; | ||
6266 | |||
6267 | mutex_lock(&tsg->ch_list_lock); | ||
6268 | list_for_each_entry(__ch, &tsg->ch_list, ch_entry) { | ||
6269 | gk20a_dbg_gpu_post_events(__ch); | ||
6270 | } | ||
6271 | mutex_unlock(&tsg->ch_list_lock); | ||
6272 | } else { | ||
6273 | gk20a_dbg_gpu_post_events(fault_ch); | ||
6274 | } | ||
6275 | } | 6264 | } |
6276 | 6265 | ||
6277 | if (need_reset && ch) | 6266 | if (need_reset && ch) |