Commit 01cc1eeb authored by Thomas Hellstrom's avatar Thomas Hellstrom Committed by Jakob Bornecrantz

i915: Make batchbuffers larger.

parent 45fd9ec4
......@@ -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);
/*
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment