• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef __NV50_FIFO_H__
2 #define __NV50_FIFO_H__
3 #define nv50_fifo(p) container_of((p), struct nv50_fifo, base)
4 #include "priv.h"
5 
6 struct nv50_fifo {
7 	struct nvkm_fifo base;
8 	struct nvkm_memory *runlist[2];
9 	int cur_runlist;
10 };
11 
12 int nv50_fifo_new_(const struct nvkm_fifo_func *, struct nvkm_device *,
13 		   int index, struct nvkm_fifo **);
14 
15 void *nv50_fifo_dtor(struct nvkm_fifo *);
16 int nv50_fifo_oneinit(struct nvkm_fifo *);
17 void nv50_fifo_init(struct nvkm_fifo *);
18 void nv50_fifo_runlist_update(struct nv50_fifo *);
19 #endif
20