Mesa (master): i915g: Reduce max relocs

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Wed Aug 12 02:03:58 UTC 2009


Module: Mesa
Branch: master
Commit: 164d8e87010f245efbc8eced9625db5c22928742
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=164d8e87010f245efbc8eced9625db5c22928742

Author: Jakob Bornecrantz <wallbraker at gmail.com>
Date:   Sat Aug  8 17:20:46 2009 +0200

i915g: Reduce max relocs

---

 .../winsys/drm/intel/gem/intel_be_batchbuffer.c    |    2 +-
 1 files changed, 1 insertions(+), 1 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 66cb7fb..c4a7958 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 = 500;/*INTEL_DEFAULT_RELOCS;*/
+	batch->base.max_relocs = 100;/*INTEL_DEFAULT_RELOCS;*/
 
 	batch->intel = intel;
 	batch->device = intel->device;




More information about the mesa-commit mailing list