nv20.h 577 字节
Newer Older
1 2 3 4
#ifndef __NV20_GR_H__
#define __NV20_GR_H__
#include <engine/gr.h>

B
Ben Skeggs 已提交
5
struct nv20_gr {
6 7
	struct nvkm_gr base;
	struct nvkm_gpuobj *ctxtab;
8 9 10
};

struct nv20_gr_chan {
11
	struct nvkm_gr_chan base;
12 13 14
	int chid;
};

15 16 17
extern struct nvkm_oclass nv25_gr_sclass[];
int  nv20_gr_context_init(struct nvkm_object *);
int  nv20_gr_context_fini(struct nvkm_object *, bool);
18

19 20
void nv20_gr_tile_prog(struct nvkm_engine *, int);
void nv20_gr_intr(struct nvkm_subdev *);
21

22 23
void nv20_gr_dtor(struct nvkm_object *);
int  nv20_gr_init(struct nvkm_object *);
24

25
int  nv30_gr_init(struct nvkm_object *);
26
#endif