1 #ifndef __GF100_FIFO_H__
2 #define __GF100_FIFO_H__
3 #define gf100_fifo(p) container_of((p), struct gf100_fifo, base)
6 #include <subdev/mmu.h>
8 struct gf100_fifo_chan
;
10 struct nvkm_fifo base
;
12 struct list_head chan
;
15 struct work_struct work
;
22 struct nvkm_memory
*mem
[2];
24 wait_queue_head_t wait
;
28 struct nvkm_memory
*mem
;
33 void gf100_fifo_intr_engine(struct gf100_fifo
*);
34 void gf100_fifo_runlist_insert(struct gf100_fifo
*, struct gf100_fifo_chan
*);
35 void gf100_fifo_runlist_remove(struct gf100_fifo
*, struct gf100_fifo_chan
*);
36 void gf100_fifo_runlist_commit(struct gf100_fifo
*);