summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index 2a20c2d9..f7db1ffa 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -5275,10 +5275,10 @@ static int gk20a_gr_handle_semaphore_pending(struct gk20a *g,
5275 struct tsg_gk20a *tsg = &g->fifo.tsg[ch->tsgid]; 5275 struct tsg_gk20a *tsg = &g->fifo.tsg[ch->tsgid];
5276 5276
5277 gk20a_tsg_event_id_post_event(tsg, 5277 gk20a_tsg_event_id_post_event(tsg,
5278 NVGPU_IOCTL_CHANNEL_EVENT_ID_GR_SEMAPHORE_WRITE_AWAKEN); 5278 NVGPU_EVENT_ID_GR_SEMAPHORE_WRITE_AWAKEN);
5279 } else { 5279 } else {
5280 gk20a_channel_event_id_post_event(ch, 5280 gk20a_channel_event_id_post_event(ch,
5281 NVGPU_IOCTL_CHANNEL_EVENT_ID_GR_SEMAPHORE_WRITE_AWAKEN); 5281 NVGPU_EVENT_ID_GR_SEMAPHORE_WRITE_AWAKEN);
5282 } 5282 }
5283 5283
5284 nvgpu_cond_broadcast(&ch->semaphore_wq); 5284 nvgpu_cond_broadcast(&ch->semaphore_wq);
@@ -5824,10 +5824,10 @@ static int gk20a_gr_post_bpt_events(struct gk20a *g, struct channel_gk20a *ch,
5824 struct tsg_gk20a *tsg = &g->fifo.tsg[ch->tsgid]; 5824 struct tsg_gk20a *tsg = &g->fifo.tsg[ch->tsgid];
5825 5825
5826 gk20a_tsg_event_id_post_event(tsg, 5826 gk20a_tsg_event_id_post_event(tsg,
5827 NVGPU_IOCTL_CHANNEL_EVENT_ID_BPT_INT); 5827 NVGPU_EVENT_ID_BPT_INT);
5828 } else { 5828 } else {
5829 gk20a_channel_event_id_post_event(ch, 5829 gk20a_channel_event_id_post_event(ch,
5830 NVGPU_IOCTL_CHANNEL_EVENT_ID_BPT_INT); 5830 NVGPU_EVENT_ID_BPT_INT);
5831 } 5831 }
5832 } 5832 }
5833 if (global_esr & gr_gpc0_tpc0_sm_hww_global_esr_bpt_pause_pending_f()) { 5833 if (global_esr & gr_gpc0_tpc0_sm_hww_global_esr_bpt_pause_pending_f()) {
@@ -5835,10 +5835,10 @@ static int gk20a_gr_post_bpt_events(struct gk20a *g, struct channel_gk20a *ch,
5835 struct tsg_gk20a *tsg = &g->fifo.tsg[ch->tsgid]; 5835 struct tsg_gk20a *tsg = &g->fifo.tsg[ch->tsgid];
5836 5836
5837 gk20a_tsg_event_id_post_event(tsg, 5837 gk20a_tsg_event_id_post_event(tsg,
5838 NVGPU_IOCTL_CHANNEL_EVENT_ID_BPT_PAUSE); 5838 NVGPU_EVENT_ID_BPT_PAUSE);
5839 } else { 5839 } else {
5840 gk20a_channel_event_id_post_event(ch, 5840 gk20a_channel_event_id_post_event(ch,
5841 NVGPU_IOCTL_CHANNEL_EVENT_ID_BPT_PAUSE); 5841 NVGPU_EVENT_ID_BPT_PAUSE);
5842 } 5842 }
5843 } 5843 }
5844 5844