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.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
index ee4e7328..0979bf2b 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
@@ -31,7 +31,6 @@
31struct fifo_runlist_info_gk20a { 31struct fifo_runlist_info_gk20a {
32 unsigned long *active_channels; 32 unsigned long *active_channels;
33 unsigned long *active_tsgs; 33 unsigned long *active_tsgs;
34 unsigned long *high_prio_channels;
35 /* Each engine has its own SW and HW runlist buffer.*/ 34 /* Each engine has its own SW and HW runlist buffer.*/
36 struct mem_desc mem[MAX_RUNLIST_BUFFERS]; 35 struct mem_desc mem[MAX_RUNLIST_BUFFERS];
37 u32 cur_buffer; 36 u32 cur_buffer;
@@ -184,8 +183,6 @@ void fifo_gk20a_finish_mmu_fault_handling(struct gk20a *g,
184int gk20a_fifo_wait_engine_idle(struct gk20a *g); 183int gk20a_fifo_wait_engine_idle(struct gk20a *g);
185u32 gk20a_fifo_engine_interrupt_mask(struct gk20a *g); 184u32 gk20a_fifo_engine_interrupt_mask(struct gk20a *g);
186u32 gk20a_fifo_get_pbdma_signature(struct gk20a *g); 185u32 gk20a_fifo_get_pbdma_signature(struct gk20a *g);
187int gk20a_fifo_set_channel_priority(struct gk20a *g, u32 runlist_id,
188 u32 hw_chid, bool interleave);
189u32 gk20a_fifo_get_failing_engine_data(struct gk20a *g, 186u32 gk20a_fifo_get_failing_engine_data(struct gk20a *g,
190 int *__id, bool *__is_tsg); 187 int *__id, bool *__is_tsg);
191bool gk20a_fifo_set_ctx_mmu_error_tsg(struct gk20a *g, 188bool gk20a_fifo_set_ctx_mmu_error_tsg(struct gk20a *g,
@@ -198,4 +195,9 @@ struct channel_gk20a *gk20a_fifo_channel_from_hw_chid(struct gk20a *g,
198 u32 hw_chid); 195 u32 hw_chid);
199 196
200void gk20a_fifo_issue_preempt(struct gk20a *g, u32 id, bool is_tsg); 197void gk20a_fifo_issue_preempt(struct gk20a *g, u32 id, bool is_tsg);
198int gk20a_fifo_set_runlist_interleave(struct gk20a *g,
199 u32 id,
200 bool is_tsg,
201 u32 runlist_id,
202 u32 new_level);
201#endif /*__GR_GK20A_H__*/ 203#endif /*__GR_GK20A_H__*/