diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h index 8a3bd4b9..e2febbf8 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | |||
@@ -378,6 +378,15 @@ int gk20a_fifo_setup_userd(struct channel_gk20a *c); | |||
378 | u32 gk20a_fifo_pbdma_acquire_val(u64 timeout); | 378 | u32 gk20a_fifo_pbdma_acquire_val(u64 timeout); |
379 | 379 | ||
380 | 380 | ||
381 | u32 *gk20a_runlist_construct_locked(struct fifo_gk20a *f, | ||
382 | struct fifo_runlist_info_gk20a *runlist, | ||
383 | u32 cur_level, | ||
384 | u32 *runlist_entry, | ||
385 | bool interleave_enabled, | ||
386 | bool prev_empty, | ||
387 | u32 *entries_left); | ||
388 | int gk20a_fifo_runlist_wait_pending(struct gk20a *g, u32 runlist_id); | ||
389 | int gk20a_init_fifo_setup_sw(struct gk20a *g); | ||
381 | void gk20a_fifo_handle_runlist_event(struct gk20a *g); | 390 | void gk20a_fifo_handle_runlist_event(struct gk20a *g); |
382 | bool gk20a_fifo_should_defer_engine_reset(struct gk20a *g, u32 engine_id, | 391 | bool gk20a_fifo_should_defer_engine_reset(struct gk20a *g, u32 engine_id, |
383 | u32 engine_subid, bool fake_fault); | 392 | u32 engine_subid, bool fake_fault); |
@@ -386,6 +395,8 @@ void gk20a_fifo_teardown_ch_tsg(struct gk20a *g, u32 __engine_ids, | |||
386 | u32 hw_id, unsigned int id_type, unsigned int rc_type, | 395 | u32 hw_id, unsigned int id_type, unsigned int rc_type, |
387 | struct mmu_fault_info *mmfault); | 396 | struct mmu_fault_info *mmfault); |
388 | 397 | ||
398 | bool gk20a_fifo_check_ch_ctxsw_timeout(struct channel_gk20a *ch, | ||
399 | bool *verbose, u32 *ms); | ||
389 | bool gk20a_fifo_check_tsg_ctxsw_timeout(struct tsg_gk20a *tsg, | 400 | bool gk20a_fifo_check_tsg_ctxsw_timeout(struct tsg_gk20a *tsg, |
390 | bool *verbose, u32 *ms); | 401 | bool *verbose, u32 *ms); |
391 | bool gk20a_fifo_handle_sched_error(struct gk20a *g); | 402 | bool gk20a_fifo_handle_sched_error(struct gk20a *g); |