i965: Emit a CS stall before timestamp writes.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 7 Aug 2012 16:32:46 +0000 (09:32 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 8 Aug 2012 16:24:19 +0000 (09:24 -0700)
commita2cdd5ada8ae315acbc4225398b7cbf78181f610
tree0b48c745bbc31a27e537b8326b92f1721d5876a5
parentc4c78c275abffe8d1014b1355f02239859d6aa2b
i965: Emit a CS stall before timestamp writes.

This implements one of the Sandybridge PIPE_CONTROL workarounds.  It
doesn't appear to be required for Ivybridge.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_queryobj.c