summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fifo_gk20a.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
index 92536b36..134a2480 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
@@ -2015,7 +2015,7 @@ int gk20a_fifo_preempt(struct gk20a *g, struct channel_gk20a *ch)
2015 int err; 2015 int err;
2016 2016
2017 if (gk20a_is_channel_marked_as_tsg(ch)) 2017 if (gk20a_is_channel_marked_as_tsg(ch))
2018 err = gk20a_fifo_preempt_tsg(ch->g, ch->tsgid); 2018 err = g->ops.fifo.preempt_tsg(ch->g, ch->tsgid);
2019 else 2019 else
2020 err = g->ops.fifo.preempt_channel(ch->g, ch->hw_chid); 2020 err = g->ops.fifo.preempt_channel(ch->g, ch->hw_chid);
2021 2021
@@ -2754,6 +2754,7 @@ void gk20a_init_fifo(struct gpu_ops *gops)
2754{ 2754{
2755 gk20a_init_channel(gops); 2755 gk20a_init_channel(gops);
2756 gops->fifo.preempt_channel = gk20a_fifo_preempt_channel; 2756 gops->fifo.preempt_channel = gk20a_fifo_preempt_channel;
2757 gops->fifo.preempt_tsg = gk20a_fifo_preempt_tsg;
2757 gops->fifo.update_runlist = gk20a_fifo_update_runlist; 2758 gops->fifo.update_runlist = gk20a_fifo_update_runlist;
2758 gops->fifo.trigger_mmu_fault = gk20a_fifo_trigger_mmu_fault; 2759 gops->fifo.trigger_mmu_fault = gk20a_fifo_trigger_mmu_fault;
2759 gops->fifo.apply_pb_timeout = gk20a_fifo_apply_pb_timeout; 2760 gops->fifo.apply_pb_timeout = gk20a_fifo_apply_pb_timeout;