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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
index d5b686f0..70c70931 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
@@ -248,6 +248,9 @@ int gk20a_fifo_disable_engine_activity(struct gk20a *g,
248 bool wait_for_idle); 248 bool wait_for_idle);
249int gk20a_fifo_disable_all_engine_activity(struct gk20a *g, 249int gk20a_fifo_disable_all_engine_activity(struct gk20a *g,
250 bool wait_for_idle); 250 bool wait_for_idle);
251void gk20a_fifo_enable_tsg_sched(struct gk20a *g, struct tsg_gk20a *tsg);
252void gk20a_fifo_disable_tsg_sched(struct gk20a *g, struct tsg_gk20a *tsg);
253
251u32 gk20a_fifo_engines_on_ch(struct gk20a *g, u32 chid); 254u32 gk20a_fifo_engines_on_ch(struct gk20a *g, u32 chid);
252 255
253int gk20a_fifo_reschedule_runlist(struct gk20a *g, u32 runlist_id); 256int gk20a_fifo_reschedule_runlist(struct gk20a *g, u32 runlist_id);
@@ -362,6 +365,9 @@ const char *gk20a_decode_pbdma_chan_eng_ctx_status(u32 index);
362void gk20a_fifo_enable_channel(struct channel_gk20a *ch); 365void gk20a_fifo_enable_channel(struct channel_gk20a *ch);
363void gk20a_fifo_disable_channel(struct channel_gk20a *ch); 366void gk20a_fifo_disable_channel(struct channel_gk20a *ch);
364 367
368bool gk20a_fifo_channel_status_is_next(struct gk20a *g, u32 chid);
369bool gk20a_fifo_channel_status_is_ctx_reload(struct gk20a *g, u32 chid);
370
365struct channel_gk20a *gk20a_refch_from_inst_ptr(struct gk20a *g, u64 inst_ptr); 371struct channel_gk20a *gk20a_refch_from_inst_ptr(struct gk20a *g, u64 inst_ptr);
366void gk20a_fifo_channel_unbind(struct channel_gk20a *ch_gk20a); 372void gk20a_fifo_channel_unbind(struct channel_gk20a *ch_gk20a);
367 373