blob: 9019eea4a613b278cce3b683c8e22c7d3b5b1e8b (
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
|
#ifndef __NV20_GR_H__
#define __NV20_GR_H__
#include <core/enum.h>
#include <engine/gr.h>
#include <engine/fifo.h>
struct nv20_gr_priv {
struct nouveau_gr base;
struct nouveau_gpuobj *ctxtab;
};
struct nv20_gr_chan {
struct nouveau_gr_chan base;
int chid;
};
extern struct nouveau_oclass nv25_gr_sclass[];
int nv20_gr_context_init(struct nouveau_object *);
int nv20_gr_context_fini(struct nouveau_object *, bool);
void nv20_gr_tile_prog(struct nouveau_engine *, int);
void nv20_gr_intr(struct nouveau_subdev *);
void nv20_gr_dtor(struct nouveau_object *);
int nv20_gr_init(struct nouveau_object *);
int nv30_gr_init(struct nouveau_object *);
#endif
|