summaryrefslogtreecommitdiff
path: root/object.h
blob: e140e762b04f0ea04770d0c8610bb10f1f74d0b6 (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
32
33
34
35
36
37
#ifndef OBJECT_H
#define OBJECT_H

/* Defines */

enum Objects {
	NvSyncNotify	= 0xD0000001,
	NvDmaFB		= 0xbeef0201,
	NvDmaTT		= 0xbeef0202,
	Nv3D		= 0x80970001,
	NvImageBlit	= 0x809F0001,
	NvCtxSurf2D	= 0x80620001,
	NvRasterOp	= 0x80430001,
	NvClipRect	= 0x80190001,
	NvImagePattern	= 0x80440001
};

enum Subchannels {
	NvSubCtxSurf2D	= 0,
	NvSubImageBlit,
	NvSub3D,
	NvSubRasterOp,
	NvSubClipRect,
	NvSubImagePattern
};

/* Variables */

extern struct nouveau_notifier *notifier;
extern struct nouveau_grobj *grobj[6];

/* Functions */

int object_list_create(int class_3d);
void object_list_close(void);

#endif