aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2008-05-23 11:14:12 +0200
committerJakob Bornecrantz <[email protected]>2008-05-23 11:14:12 +0200
commit01cc1eebe92441ec33e951b95f0a5b52721741f0 (patch)
tree80512132168d55927c6f25e198a0fa5a93a44a8b /src
parent45fd9ec462bf338b286d3b757c3e67d54f663dad (diff)
i915: Make batchbuffers larger.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/dri/intel/intel_batchbuffer.c2
-rw-r--r--src/gallium/winsys/dri/intel/intel_screen.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/dri/intel/intel_batchbuffer.c b/src/gallium/winsys/dri/intel/intel_batchbuffer.c
index 3a8591b5802..aa2eed53b84 100644
--- a/src/gallium/winsys/dri/intel/intel_batchbuffer.c
+++ b/src/gallium/winsys/dri/intel/intel_batchbuffer.c
@@ -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);
/*
diff --git a/src/gallium/winsys/dri/intel/intel_screen.c b/src/gallium/winsys/dri/intel/intel_screen.c
index a3fc6d73444..58bebbe9720 100644
--- a/src/gallium/winsys/dri/intel/intel_screen.c
+++ b/src/gallium/winsys/dri/intel/intel_screen.c
@@ -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