1 #ifndef __NV20_GR_H__
2 #define __NV20_GR_H__
3 
4 #include <core/enum.h>
5 
6 #include <engine/gr.h>
7 #include <engine/fifo.h>
8 
9 struct nv20_gr_priv {
10 	struct nouveau_gr base;
11 	struct nouveau_gpuobj *ctxtab;
12 };
13 
14 struct nv20_gr_chan {
15 	struct nouveau_gr_chan base;
16 	int chid;
17 };
18 
19 extern struct nouveau_oclass nv25_gr_sclass[];
20 int  nv20_gr_context_init(struct nouveau_object *);
21 int  nv20_gr_context_fini(struct nouveau_object *, bool);
22 
23 void nv20_gr_tile_prog(struct nouveau_engine *, int);
24 void nv20_gr_intr(struct nouveau_subdev *);
25 
26 void nv20_gr_dtor(struct nouveau_object *);
27 int  nv20_gr_init(struct nouveau_object *);
28 
29 int  nv30_gr_init(struct nouveau_object *);
30 
31 #endif
32