• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
9 struct nv20_graph_priv {
10 	struct nouveau_graph base;
11 	struct nouveau_gpuobj *ctxtab;
12 };
13 
14 struct nv20_graph_chan {
15 	struct nouveau_graph_chan base;
16 	int chid;
17 };
18 
19 extern struct nouveau_oclass nv25_graph_sclass[];
20 int  nv20_graph_context_init(struct nouveau_object *);
21 int  nv20_graph_context_fini(struct nouveau_object *, bool);
22 
23 void nv20_graph_tile_prog(struct nouveau_engine *, int);
24 void nv20_graph_intr(struct nouveau_subdev *);
25 
26 void nv20_graph_dtor(struct nouveau_object *);
27 int  nv20_graph_init(struct nouveau_object *);
28 
29 int  nv30_graph_init(struct nouveau_object *);
30 
31 #endif
32