diff options
author | Eric Anholt <eric@anholt.net> | 2008-06-04 16:31:16 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-06-10 11:37:03 -0700 |
commit | b2216e7bc2f1a35f9fc1794bad83208cd5c583d1 (patch) | |
tree | 1eb5c6416740ffb2135a35a7bcfa70a635b8c09b /src/i810_reg.h | |
parent | d0fda9d24c5fe4870cdbd2ba0213091165666a8e (diff) |
Use batchbuffers instead of ring emits for general commands.
The batchbuffers are managed using libdrm and bufmgr_fake, and dispatched from
the ring from userland.
Diffstat (limited to 'src/i810_reg.h')
-rw-r--r-- | src/i810_reg.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/i810_reg.h b/src/i810_reg.h index d8e0cb2c..6a82c19b 100644 --- a/src/i810_reg.h +++ b/src/i810_reg.h @@ -2379,6 +2379,13 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define STATE3D_COLOR_FACTOR ((0x3<<29)|(0x1d<<24)|(0x01<<16)) +/* Batch */ +#define MI_BATCH_BUFFER ((0x30 << 23) | 1) +#define MI_BATCH_BUFFER_START (0x31 << 23) +#define MI_BATCH_BUFFER_END (0xA << 23) +#define MI_BATCH_NON_SECURE (1) +#define MI_BATCH_NON_SECURE_I965 (1 << 8) + /* STATE3D_FOG_MODE stuff */ #define ENABLE_FOG_SOURCE (1<<27) #define ENABLE_FOG_CONST (1<<24) |