intel: gen3 is particular sensitive to batch size
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 23 Feb 2011 23:09:36 +0000 (23:09 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 23 Feb 2011 23:11:26 +0000 (23:11 +0000)
commit671018aa99528a41955654f62120eeea0c5517e1
tree9d3b47fab7412f47761681fc9c8dccd23992a4c9
parent19ac5fa50dbb2f80eb0d47866b1474e3bd7a84dc
intel: gen3 is particular sensitive to batch size

... and prefers a small batch whereas gen4+ prefer a large batch to
carry more state.

Tuning using openarena/padman indicate that a batch size of just 4096 is
best for those cases.

Bugzilla: https://bugs.freedesktop.org/process_bug.cgi
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/intel/intel_context.c