Merge branch 'for-3.5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj...
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / drm / nouveau / nouveau_fifo.h
1 #ifndef __NOUVEAU_FIFO_H__
2 #define __NOUVEAU_FIFO_H__
3
4 struct nouveau_fifo_priv {
5         struct nouveau_exec_engine base;
6         u32 channels;
7 };
8
9 struct nouveau_fifo_chan {
10 };
11
12 bool nv04_fifo_cache_pull(struct drm_device *, bool);
13 void nv04_fifo_context_del(struct nouveau_channel *, int);
14 int  nv04_fifo_fini(struct drm_device *, int, bool);
15 int  nv04_fifo_init(struct drm_device *, int);
16 void nv04_fifo_isr(struct drm_device *);
17 void nv04_fifo_destroy(struct drm_device *, int);
18
19 void nv50_fifo_playlist_update(struct drm_device *);
20 void nv50_fifo_destroy(struct drm_device *, int);
21 void nv50_fifo_tlb_flush(struct drm_device *, int);
22
23 int  nv04_fifo_create(struct drm_device *);
24 int  nv10_fifo_create(struct drm_device *);
25 int  nv17_fifo_create(struct drm_device *);
26 int  nv40_fifo_create(struct drm_device *);
27 int  nv50_fifo_create(struct drm_device *);
28 int  nv84_fifo_create(struct drm_device *);
29 int  nvc0_fifo_create(struct drm_device *);
30 int  nve0_fifo_create(struct drm_device *);
31
32 #endif