diff options
author | Felix Kuehling <fxkuehl@gmx.de> | 2005-03-06 01:36:10 +0000 |
---|---|---|
committer | Felix Kuehling <fxkuehl@gmx.de> | 2005-03-06 01:36:10 +0000 |
commit | 33033884e9ec07d96c70765132a2be0ebc466299 (patch) | |
tree | fdf3c29a49be1dab58b1b31c06ea5f81f7067121 /src/savage_dri.h | |
parent | 21bf49050a7b868c50831fb3951086fe9c21e8f6 (diff) |
- Support for the new DRM version 2.4 with command DMA.
- Added an option "DmaMode" to choose between vertex and command DMA.
- Allow ShadowStatus to be explicitly disabled even with DRI enabled.
- Updated the man page.
Diffstat (limited to 'src/savage_dri.h')
-rw-r--r-- | src/savage_dri.h | 5 |
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 |