diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/fifo_gm20b.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c index 0931d226..6fb5802b 100644 --- a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c | |||
@@ -230,4 +230,14 @@ void gm20b_init_fifo(struct gpu_ops *gops) | |||
230 | gops->fifo.teardown_ch_tsg = gk20a_fifo_teardown_ch_tsg; | 230 | gops->fifo.teardown_ch_tsg = gk20a_fifo_teardown_ch_tsg; |
231 | gops->fifo.handle_sched_error = gk20a_fifo_handle_sched_error; | 231 | gops->fifo.handle_sched_error = gk20a_fifo_handle_sched_error; |
232 | gops->fifo.handle_pbdma_intr_0 = gk20a_fifo_handle_pbdma_intr_0; | 232 | gops->fifo.handle_pbdma_intr_0 = gk20a_fifo_handle_pbdma_intr_0; |
233 | #ifdef CONFIG_TEGRA_GK20A_NVHOST | ||
234 | gops->fifo.alloc_syncpt_buf = gk20a_fifo_alloc_syncpt_buf; | ||
235 | gops->fifo.free_syncpt_buf = gk20a_fifo_free_syncpt_buf; | ||
236 | gops->fifo.add_syncpt_wait_cmd = gk20a_fifo_add_syncpt_wait_cmd; | ||
237 | gops->fifo.get_syncpt_wait_cmd_size = | ||
238 | gk20a_fifo_get_syncpt_wait_cmd_size; | ||
239 | gops->fifo.add_syncpt_incr_cmd = gk20a_fifo_add_syncpt_incr_cmd; | ||
240 | gops->fifo.get_syncpt_incr_cmd_size = | ||
241 | gk20a_fifo_get_syncpt_incr_cmd_size; | ||
242 | #endif | ||
233 | } | 243 | } |