summaryrefslogtreecommitdiff
path: root/src/savage_dri.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/savage_dri.h')
-rw-r--r--src/savage_dri.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/savage_dri.h b/src/savage_dri.h
index 39b6564..82b4aee 100644
--- a/src/savage_dri.h
+++ b/src/savage_dri.h
@@ -34,6 +34,8 @@
#define SAVAGE_NUM_BUFFERS 32
#define SAVAGE_BUFFER_SIZE (1 << 16) /* 64k */
+#define SAVAGE_CMDDMA_SIZE 0x100000 /* 1MB */
+
#define SAVAGE_DEFAULT_AGP_MODE 1
#define SAVAGE_MAX_AGP_MODE 4
@@ -101,6 +103,9 @@ typedef struct _server{
drmRegion agpTextures;
int logAgpTextureGranularity;
+ /* command DMA */
+ drmRegion cmdDma;
+
#if 0
drmBufMapPtr drmBuffers;
#endif