summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/nouveau/nouveau_object.h
diff options
context:
space:
mode:
authorBen Skeggs <darktama@iinet.net.au>2006-12-08 03:01:33 +0000
committerBen Skeggs <darktama@iinet.net.au>2006-12-08 03:01:33 +0000
commit4cfb762c3eb2ea9a764c7ba0811c338ef5fba8fe (patch)
tree1fd9ce0a7a22e2bed4b4c83a374b78cf78c4b0f7 /src/mesa/drivers/dri/nouveau/nouveau_object.h
parent3867bc97800ef3072a70565559c11badba3ed55a (diff)
Some work on buffer handling, most likely not entirely correct and
incomplete. But, it works well enough that windows can be moved/resized.
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_object.h')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_object.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_object.h b/src/mesa/drivers/dri/nouveau/nouveau_object.h
index 8386f923c3..f555eba9b4 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_object.h
+++ b/src/mesa/drivers/dri/nouveau/nouveau_object.h
@@ -3,14 +3,21 @@
#include "nouveau_context.h"
+#define ALLOW_MULTI_SUBCHANNEL
+
void nouveauObjectInit(nouveauContextPtr nmesa);
enum DMAObjects {
Nv3D = 0x80000019,
- NvDmaFB = 0xD0FB0001
+ NvCtxSurf2D = 0x80000020,
+ NvImageBlit = 0x80000021,
+ NvDmaFB = 0xD0FB0001,
+ NvDmaAGP = 0xD0AA0001
};
enum DMASubchannel {
+ NvSubCtxSurf2D = 0,
+ NvSubImageBlit = 1,
NvSub3D = 7,
};