summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fifo_gk20a.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
index 7351478a..80f1853c 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
@@ -405,4 +405,20 @@ unsigned int gk20a_fifo_handle_pbdma_intr_0(struct gk20a *g, u32 pbdma_id,
405 u32 pbdma_intr_0, u32 *handled, u32 *error_notifier); 405 u32 pbdma_intr_0, u32 *handled, u32 *error_notifier);
406 406
407u32 gk20a_fifo_default_timeslice_us(struct gk20a *g); 407u32 gk20a_fifo_default_timeslice_us(struct gk20a *g);
408
409#ifdef CONFIG_TEGRA_GK20A_NVHOST
410void gk20a_fifo_add_syncpt_wait_cmd(struct gk20a *g,
411 struct priv_cmd_entry *cmd, u32 off,
412 u32 id, u32 thresh, u64 gpu_va);
413u32 gk20a_fifo_get_syncpt_wait_cmd_size(void);
414void gk20a_fifo_add_syncpt_incr_cmd(struct gk20a *g,
415 bool wfi_cmd, struct priv_cmd_entry *cmd,
416 u32 id, u64 gpu_va);
417u32 gk20a_fifo_get_syncpt_incr_cmd_size(bool wfi_cmd);
418void gk20a_fifo_free_syncpt_buf(struct channel_gk20a *c,
419 struct nvgpu_mem *syncpt_buf);
420int gk20a_fifo_alloc_syncpt_buf(struct channel_gk20a *c,
421 u32 syncpt_id, struct nvgpu_mem *syncpt_buf);
422#endif
423
408#endif /*__GR_GK20A_H__*/ 424#endif /*__GR_GK20A_H__*/