i915: Make batchbuffers larger.

This commit is contained in:
Thomas Hellstrom
2008-05-23 11:14:12 +02:00
committed by Jakob Bornecrantz
parent 45fd9ec462
commit 01cc1eebe9
2 changed files with 2 additions and 2 deletions

View 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);
/*

View 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