i915: Make batchbuffers larger.
authorThomas Hellstrom <thomas@tungstengraphics.com>
Fri, 23 May 2008 09:14:12 +0000 (11:14 +0200)
committerJakob Bornecrantz <jakob@tungstengraphics.com>
Fri, 23 May 2008 09:14:12 +0000 (11:14 +0200)
src/gallium/winsys/dri/intel/intel_batchbuffer.c
src/gallium/winsys/dri/intel/intel_screen.c

index 3a8591b5802b1f90c73a92070703aee086bdfee8..aa2eed53b8446e1d223db2653c47cddae8a1a987 100644 (file)
@@ -65,7 +65,7 @@ intel_batchbuffer_reset(struct intel_batchbuffer *batch)
    driBOUnrefUserList(batch->list);
    driBOResetList(batch->list);
 
-   batch->size = 4096; // ZZZ JB batch->intel->intelScreen->maxBatchSize;
+   batch->size = 4 * 4096; // ZZZ JB batch->intel->intelScreen->maxBatchSize;
    driBOData(batch->buffer, batch->size, NULL, NULL, 0);
 
    /*
index a3fc6d73444d45c3a136fba3a8fa2b06c823539e..58bebbe9720eefabd515ed22944ecf0a14b2b8fc 100644 (file)
@@ -200,7 +200,7 @@ intelCreatePools(__DRIscreenPrivate * sPriv)
                                                DRM_BO_FLAG_MEM_TT,
                                                DRM_BO_FLAG_EXE |
                                                DRM_BO_FLAG_MEM_TT,
-                                               4096, //intelScreen->maxBatchSize,
+                                               4 * 4096, //intelScreen->maxBatchSize,
                                                1, 40, 16*16384, 0,
                                                intelScreen->fMan);
 #endif