i965: Move flushing out of write_reg and into the callers.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 28 May 2013 02:44:44 +0000 (19:44 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 23 Oct 2013 08:06:26 +0000 (01:06 -0700)
commitd5db3ece0a5d1a543b55cce38e39543deadc82eb
tree4c57d78d9c5acd477c27165bbb2fb0e85dfa0ea0
parent63974c0f5b26e369a790505af6820d4bbcf451b2
i965: Move flushing out of write_reg and into the callers.

The current callers just want to write a single register, so combining
the register read with a pipeline flush made sense.  However, in the
future we'll want to do multiple register reads back to back, and we'll
only want to flush once.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/gen6_queryobj.c