summaryrefslogtreecommitdiff
path: root/drm/nouveau/nvkm/engine/gr/nv20.h
blob: 06dfe4bd50b13cff01e2b430696919f6269f7b93 (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
#ifndef __NV20_GR_H__
#define __NV20_GR_H__
#include <engine/gr.h>

struct nv20_gr {
	struct nvkm_gr base;
	struct nvkm_gpuobj *ctxtab;
};

struct nv20_gr_chan {
	struct nvkm_gr_chan base;
	int chid;
};

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

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

void nv20_gr_dtor(struct nvkm_object *);
int  nv20_gr_init(struct nvkm_object *);

int  nv30_gr_init(struct nvkm_object *);
#endif