anv: Flush render cache before STATE_BASE_ADDRESS on gen7
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 31 Jan 2017 23:06:56 +0000 (15:06 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 1 Feb 2017 02:49:44 +0000 (18:49 -0800)
commitf1f9794118008bcdc13d93ee709022d21cc4156d
tree6b2762dd3671290023d229dd167661e340b85071
parent4871930451215fd8673f7e213a88aa48e5ecaad3
anv: Flush render cache before STATE_BASE_ADDRESS on gen7

We had no good reason for *not* doing this on gen7 before but we didn't
know it was needed.  Recently, when trying update to Vulkan CTS version
1.0.2 in our CI system, Mark discovered GPU hangs on Haswell that appear
to be STATE_BASE_ADDRESS related.  This commit fixes them.

Reported-by: Mark Janes <mark.a.janes@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "13.0 17.0" <mesa-stable@lists.freedesktop.org>
src/intel/vulkan/genX_cmd_buffer.c