diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h index 5866dd1b..576a4ac8 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | |||
@@ -95,6 +95,7 @@ struct fifo_runlist_info_gk20a { | |||
95 | u32 pbdma_bitmask; /* pbdmas supported for this runlist*/ | 95 | u32 pbdma_bitmask; /* pbdmas supported for this runlist*/ |
96 | u32 eng_bitmask; /* engines using this runlist */ | 96 | u32 eng_bitmask; /* engines using this runlist */ |
97 | u32 reset_eng_bitmask; /* engines to be reset during recovery */ | 97 | u32 reset_eng_bitmask; /* engines to be reset during recovery */ |
98 | u32 count; /* cached runlist_hw_submit parameter */ | ||
98 | bool stopped; | 99 | bool stopped; |
99 | bool support_tsg; | 100 | bool support_tsg; |
100 | /* protect ch/tsg/runlist preempt & runlist update */ | 101 | /* protect ch/tsg/runlist preempt & runlist update */ |
@@ -249,7 +250,9 @@ void gk20a_fifo_disable_tsg_sched(struct gk20a *g, struct tsg_gk20a *tsg); | |||
249 | 250 | ||
250 | u32 gk20a_fifo_engines_on_ch(struct gk20a *g, u32 chid); | 251 | u32 gk20a_fifo_engines_on_ch(struct gk20a *g, u32 chid); |
251 | 252 | ||
252 | int gk20a_fifo_reschedule_runlist(struct gk20a *g, u32 runlist_id); | 253 | int gk20a_fifo_reschedule_runlist(struct channel_gk20a *ch, bool preempt_next); |
254 | int nvgpu_fifo_reschedule_runlist(struct channel_gk20a *ch, bool preempt_next, | ||
255 | bool wait_preempt); | ||
253 | 256 | ||
254 | int gk20a_fifo_update_runlist(struct gk20a *g, u32 engine_id, u32 chid, | 257 | int gk20a_fifo_update_runlist(struct gk20a *g, u32 engine_id, u32 chid, |
255 | bool add, bool wait_for_finish); | 258 | bool add, bool wait_for_finish); |