diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/gr_gp10b.c | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c index 09c2558c..051e16a3 100644 --- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c | |||
@@ -1896,18 +1896,17 @@ static int gr_gp10b_handle_fecs_error(struct gk20a *g, | |||
1896 | goto clean_up; | 1896 | goto clean_up; |
1897 | } | 1897 | } |
1898 | 1898 | ||
1899 | if (gk20a_gr_sm_debugger_attached(g)) { | 1899 | /* Post events to UMD */ |
1900 | gk20a_dbg_gpu_post_events(ch); | 1900 | gk20a_dbg_gpu_post_events(ch); |
1901 | 1901 | ||
1902 | if (gk20a_is_channel_marked_as_tsg(ch)) { | 1902 | if (gk20a_is_channel_marked_as_tsg(ch)) { |
1903 | struct tsg_gk20a *tsg = &g->fifo.tsg[ch->tsgid]; | 1903 | struct tsg_gk20a *tsg = &g->fifo.tsg[ch->tsgid]; |
1904 | 1904 | ||
1905 | gk20a_tsg_event_id_post_event(tsg, | 1905 | gk20a_tsg_event_id_post_event(tsg, |
1906 | NVGPU_IOCTL_CHANNEL_EVENT_ID_CILP_PREEMPTION_COMPLETE); | 1906 | NVGPU_IOCTL_CHANNEL_EVENT_ID_CILP_PREEMPTION_COMPLETE); |
1907 | } else { | 1907 | } else { |
1908 | gk20a_channel_event_id_post_event(ch, | 1908 | gk20a_channel_event_id_post_event(ch, |
1909 | NVGPU_IOCTL_CHANNEL_EVENT_ID_CILP_PREEMPTION_COMPLETE); | 1909 | NVGPU_IOCTL_CHANNEL_EVENT_ID_CILP_PREEMPTION_COMPLETE); |
1910 | } | ||
1911 | } | 1910 | } |
1912 | 1911 | ||
1913 | gk20a_channel_put(ch); | 1912 | gk20a_channel_put(ch); |