intel/mi_builder: Force write completion on Gen12+
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 27 Jan 2020 20:42:20 +0000 (14:42 -0600)
committerMarge Bot <eric+marge@anholt.net>
Tue, 28 Jan 2020 18:15:29 +0000 (18:15 +0000)
commit997040e4b8353fe9b71a5e9fde2f933eae09c7a3
treef88e838ea4722682904f128d71a9c15ff64c0ca2
parent06657e1ddaa96f1e70aa499f244daff0ae1db571
intel/mi_builder: Force write completion on Gen12+

Otherwise, we have no guarantee that the write actually lands before we
move on to other things.  Doing this on every SDI is probably a bit
harsh but it's safe.  We should figure out a good way to avoid this when
we can.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3593>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3593>
src/intel/common/gen_mi_builder.h