i965: Emit CS stall before MEDIA_VFE_STATE.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 31 Oct 2017 16:57:54 +0000 (09:57 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 4 Dec 2017 18:02:46 +0000 (10:02 -0800)
commit55a97db52347f62111a24715078c6035380d3e19
tree2e65ffe264953310684a534d0e6ca7c677f04f88
parentbfe0f3a7027c3104a6ddc662129091c8093e7410
i965: Emit CS stall before MEDIA_VFE_STATE.

This fixes hangs on GFXBench 5's Aztec Ruins benchmark.

Unfortunately, it regresses OglCSCloth performance by about 10%. There
are some ideas for fixing that.

The Vulkan driver already emits this stall.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/genX_state_upload.c