aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/core/engine/graph/nv20.h
blob: 2bea7313e03fa9ebf8302fbeac9387ed85f5b143 (plain) (blame)
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_GRAPH_H__
#define __NV20_GRAPH_H__

#include <core/enum.h>

#include <engine/graph.h>
#include <engine/fifo.h>

struct nv20_graph_priv {
	struct nouveau_graph base;
	struct nouveau_gpuobj *ctxtab;
};

struct nv20_graph_chan {
	struct nouveau_graph_chan base;
	int chid;
};

extern struct nouveau_oclass nv25_graph_sclass[];
int  nv20_graph_context_init(struct nouveau_object *);
int  nv20_graph_context_fini(struct nouveau_object *, bool);

void nv20_graph_tile_prog(struct nouveau_engine *, int);
void nv20_graph_intr(struct nouveau_subdev *);

void nv20_graph_dtor(struct nouveau_object *);
int  nv20_graph_init(struct nouveau_object *);

int  nv30_graph_init(struct nouveau_object *);

#endif