i965: Don't PIPE_CONTROL instruction cache flush.
authorEric Anholt <eric@anholt.net>
Mon, 24 May 2010 04:00:13 +0000 (21:00 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 26 May 2010 19:13:54 +0000 (12:13 -0700)
commit8f61114907669b2134fbdc1a794926035486e8df
tree1874c6a80dfdd42327cb4ecc44f8f03a4b0ffb0e
parent6e2330daa6d7872405485ffabfe613a7c053d890
i965: Don't PIPE_CONTROL instruction cache flush.

This is a workaround for Ironlake errata.  The emit_mi_flush is used
for a few purposes:
1) Flushing write caches for RTT (including blit to texture)
2) Pipe fencing for sync objects
3) Spamming cache flushes to track down cache flush bugs

Spamming cache flushes seems less important than following the docs,
and we should probably do that with a different mechanism than the one
for render cache flushes.
src/mesa/drivers/dri/intel/intel_batchbuffer.c