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.h11
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);
378u32 gk20a_fifo_pbdma_acquire_val(u64 timeout); 378u32 gk20a_fifo_pbdma_acquire_val(u64 timeout);
379 379
380 380
381u32 *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);
388int gk20a_fifo_runlist_wait_pending(struct gk20a *g, u32 runlist_id);
389int gk20a_init_fifo_setup_sw(struct gk20a *g);
381void gk20a_fifo_handle_runlist_event(struct gk20a *g); 390void gk20a_fifo_handle_runlist_event(struct gk20a *g);
382bool gk20a_fifo_should_defer_engine_reset(struct gk20a *g, u32 engine_id, 391bool 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
398bool gk20a_fifo_check_ch_ctxsw_timeout(struct channel_gk20a *ch,
399 bool *verbose, u32 *ms);
389bool gk20a_fifo_check_tsg_ctxsw_timeout(struct tsg_gk20a *tsg, 400bool gk20a_fifo_check_tsg_ctxsw_timeout(struct tsg_gk20a *tsg,
390 bool *verbose, u32 *ms); 401 bool *verbose, u32 *ms);
391bool gk20a_fifo_handle_sched_error(struct gk20a *g); 402bool gk20a_fifo_handle_sched_error(struct gk20a *g);