drm/nouveau/fb: add gm20b device
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / nvkm / engine / fifo / nv50.h
blob8ab53948cbb405bd5bc82adbe9fa7b4b5de570dc
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"
6 struct nv50_fifo {
7 struct nvkm_fifo base;
8 struct nvkm_memory *runlist[2];
9 int cur_runlist;
12 int nv50_fifo_new_(const struct nvkm_fifo_func *, struct nvkm_device *,
13 int index, struct nvkm_fifo **);
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