diff options
author | Stéphane Marchesin <[email protected]> | 2013-05-04 18:59:35 -0700 |
---|---|---|
committer | Stéphane Marchesin <[email protected]> | 2013-05-08 02:06:56 -0700 |
commit | fc24c7aedeff6639e9438dbe7b91ca3775511223 (patch) | |
tree | de0b578dd79afa5704a2951e397f62d79ddab188 /src/gallium/winsys/i915/drm | |
parent | 7f7c7fda83eced002a4dbff483cded2e31313acd (diff) |
i915g: Optimize batchbuffer sizes
Now that we don't throttle at every batchbuffer, we can shrink
the size of batchbuffers to achieve early flushing. This gives
a significant speed boost in a lot of games (on the order of
20%).
Diffstat (limited to 'src/gallium/winsys/i915/drm')
-rw-r--r-- | src/gallium/winsys/i915/drm/i915_drm_winsys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/i915/drm/i915_drm_winsys.c b/src/gallium/winsys/i915/drm/i915_drm_winsys.c index 6c8a10d800f..9e16f409cea 100644 --- a/src/gallium/winsys/i915/drm/i915_drm_winsys.c +++ b/src/gallium/winsys/i915/drm/i915_drm_winsys.c @@ -56,7 +56,7 @@ i915_drm_winsys_create(int drmFD) idws->fd = drmFD; idws->base.pci_id = deviceID; - idws->max_batch_size = 16 * 4096; + idws->max_batch_size = 1 * 4096; idws->base.destroy = i915_drm_winsys_destroy; |