1#ifndef __GF100_FIFO_CHAN_H__ 2#define __GF100_FIFO_CHAN_H__ 3#define gf100_fifo_chan(p) container_of((p), struct gf100_fifo_chan, base) 4#include "chan.h" 5#include "gf100.h" 6 7struct gf100_fifo_chan { 8 struct nvkm_fifo_chan base; 9 struct gf100_fifo *fifo; 10 11 struct list_head head; 12 bool killed; 13 14 struct nvkm_gpuobj *pgd; 15 struct nvkm_vm *vm; 16 17 struct { 18 struct nvkm_gpuobj *inst; 19 struct nvkm_vma vma; 20 } engn[NVKM_SUBDEV_NR]; 21}; 22 23extern const struct nvkm_fifo_chan_oclass gf100_fifo_gpfifo_oclass; 24#endif 25