i965: Emit texture cache invalidates around blorp_copy
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 10 Mar 2018 05:23:23 +0000 (21:23 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 13 Mar 2018 18:24:40 +0000 (11:24 -0700)
commit8379bff6c4456f8a77041eee225dcd44e5e00a76
treea54f6e9183a6ca2eea7652e555b559f45b909487
parenta326eedc75d63188158424e779118bac2b451d4f
i965: Emit texture cache invalidates around blorp_copy

This is a terrible hack but it fixes CTS regressions.  It's still
incredibly unclear exactly what is going wrong in the hardware to cause
this to be an issue so this isn't a good fix by any means.  However, it
does fix tests so there is that.

Fixes: fb0e9b5197 "i965: Track the depth and render caches separately"
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103746
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_blorp.c