diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/gr_gp10b.c | 8 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hal_gp10b.c | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c index 17685f59..8cbda409 100644 --- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c | |||
@@ -1814,8 +1814,8 @@ int gr_gp10b_set_cilp_preempt_pending(struct gk20a *g, | |||
1814 | 1814 | ||
1815 | tsg = &g->fifo.tsg[fault_ch->tsgid]; | 1815 | tsg = &g->fifo.tsg[fault_ch->tsgid]; |
1816 | 1816 | ||
1817 | gk20a_tsg_event_id_post_event(tsg, | 1817 | g->ops.fifo.post_event_id(tsg, |
1818 | NVGPU_EVENT_ID_CILP_PREEMPTION_STARTED); | 1818 | NVGPU_EVENT_ID_CILP_PREEMPTION_STARTED); |
1819 | 1819 | ||
1820 | return 0; | 1820 | return 0; |
1821 | } | 1821 | } |
@@ -2036,8 +2036,8 @@ int gr_gp10b_handle_fecs_error(struct gk20a *g, | |||
2036 | 2036 | ||
2037 | tsg = &g->fifo.tsg[ch->tsgid]; | 2037 | tsg = &g->fifo.tsg[ch->tsgid]; |
2038 | 2038 | ||
2039 | gk20a_tsg_event_id_post_event(tsg, | 2039 | g->ops.fifo.post_event_id(tsg, |
2040 | NVGPU_EVENT_ID_CILP_PREEMPTION_COMPLETE); | 2040 | NVGPU_EVENT_ID_CILP_PREEMPTION_COMPLETE); |
2041 | 2041 | ||
2042 | gk20a_channel_put(ch); | 2042 | gk20a_channel_put(ch); |
2043 | } | 2043 | } |
diff --git a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c index 65fdf714..783dfcdd 100644 --- a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c | |||
@@ -464,6 +464,7 @@ static const struct gpu_ops gp10b_ops = { | |||
464 | .handle_pbdma_intr_1 = gk20a_fifo_handle_pbdma_intr_1, | 464 | .handle_pbdma_intr_1 = gk20a_fifo_handle_pbdma_intr_1, |
465 | .tsg_bind_channel = gk20a_tsg_bind_channel, | 465 | .tsg_bind_channel = gk20a_tsg_bind_channel, |
466 | .tsg_unbind_channel = gk20a_fifo_tsg_unbind_channel, | 466 | .tsg_unbind_channel = gk20a_fifo_tsg_unbind_channel, |
467 | .post_event_id = gk20a_tsg_event_id_post_event, | ||
467 | #ifdef CONFIG_TEGRA_GK20A_NVHOST | 468 | #ifdef CONFIG_TEGRA_GK20A_NVHOST |
468 | .alloc_syncpt_buf = gk20a_fifo_alloc_syncpt_buf, | 469 | .alloc_syncpt_buf = gk20a_fifo_alloc_syncpt_buf, |
469 | .free_syncpt_buf = gk20a_fifo_free_syncpt_buf, | 470 | .free_syncpt_buf = gk20a_fifo_free_syncpt_buf, |