iris: Wait for the GPU to be idle before invalidating the aux table.
authorRafael Antognolli <rafael.antognolli@intel.com>
Tue, 25 Feb 2020 23:08:32 +0000 (15:08 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 2 Mar 2020 22:28:11 +0000 (22:28 +0000)
commitb4ddc6139b9534fb4559948ebcbaf96c76097d55
tree91443c2a10c428f3899a6b8af75ac86c585f679a
parenta7de6f1321a00316a59effeed93365f6979e6c69
iris: Wait for the GPU to be idle before invalidating the aux table.

An end of pipe sync seems to satisfy this restriction. It takes care of
GPU hangs seen in dEQP-GLES31.functional.copy_image.* tests.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4005>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4005>
src/gallium/drivers/iris/iris_state.c