1#ifndef __NV20_GRAPH_H__
2#define __NV20_GRAPH_H__
3
4#include <core/enum.h>
5
6#include <engine/graph.h>
7#include <engine/fifo.h>
8
9struct nv20_graph_priv {
10 struct nouveau_graph base;
11 struct nouveau_gpuobj *ctxtab;
12};
13
14struct nv20_graph_chan {
15 struct nouveau_graph_chan base;
16 int chid;
17};
18
19extern struct nouveau_oclass nv25_graph_sclass[];
20int nv20_graph_context_init(struct nouveau_object *);
21int nv20_graph_context_fini(struct nouveau_object *, bool);
22
23void nv20_graph_tile_prog(struct nouveau_engine *, int);
24void nv20_graph_intr(struct nouveau_subdev *);
25
26void nv20_graph_dtor(struct nouveau_object *);
27int nv20_graph_init(struct nouveau_object *);
28
29int nv30_graph_init(struct nouveau_object *);
30
31#endif
32