summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nouveau_fifo.h
blob: ce99cab2f2578a1b4479c58da5b5a9f057da9805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef __NOUVEAU_FIFO_H__
#define __NOUVEAU_FIFO_H__

struct nouveau_fifo_priv {
	struct nouveau_exec_engine base;
	u32 channels;
};

struct nouveau_fifo_chan {
};

bool nv04_fifo_cache_pull(struct drm_device *, bool);
void nv04_fifo_context_del(struct nouveau_channel *, int);
int  nv04_fifo_fini(struct drm_device *, int, bool);
int  nv04_fifo_init(struct drm_device *, int);
void nv04_fifo_isr(struct drm_device *);
void nv04_fifo_destroy(struct drm_device *, int);

void nv50_fifo_playlist_update(struct drm_device *);
void nv50_fifo_destroy(struct drm_device *, int);
void nv50_fifo_tlb_flush(struct drm_device *, int);

int  nv04_fifo_create(struct drm_device *);
int  nv10_fifo_create(struct drm_device *);
int  nv17_fifo_create(struct drm_device *);
int  nv40_fifo_create(struct drm_device *);
int  nv50_fifo_create(struct drm_device *);
int  nv84_fifo_create(struct drm_device *);
int  nvc0_fifo_create(struct drm_device *);
int  nve0_fifo_create(struct drm_device *);

#endif