diff options
author | Jakob Bornecrantz <[email protected]> | 2009-03-03 02:05:52 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-03-03 03:19:49 +0100 |
commit | cc9fbb16a6787e03186926b7488bfcaaf41635d9 (patch) | |
tree | 62c6a52723fd780749ea26b7b6534e14e8acfae6 /src/gallium/winsys/drm | |
parent | a3b7db0326337117ccdea526818040d2c24d83b4 (diff) |
intel: Increase max relocs per batchbuffer
Diffstat (limited to 'src/gallium/winsys/drm')
-rw-r--r-- | src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c b/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c index d9556e1f384..01374337852 100644 --- a/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c +++ b/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c @@ -21,7 +21,7 @@ intel_be_batchbuffer_alloc(struct intel_be_context *intel) batch->base.size = 0; batch->base.actual_size = intel->device->max_batch_size; batch->base.relocs = 0; - batch->base.max_relocs = INTEL_DEFAULT_RELOCS; + batch->base.max_relocs = 500;/*INTEL_DEFAULT_RELOCS;*/ batch->base.map = malloc(batch->base.actual_size); memset(batch->base.map, 0, batch->base.actual_size); @@ -47,7 +47,6 @@ intel_be_batchbuffer_reset(struct intel_be_batchbuffer *batch) batch->base.size = batch->base.actual_size - BATCH_RESERVED; batch->base.relocs = 0; - batch->base.max_relocs = INTEL_DEFAULT_RELOCS; batch->bo = drm_intel_bo_alloc(dev->pools.gem, "gallium3d_batch_buffer", |