iris: flush data cache when flushing HDC on GFX < 12
authorTapani Pälli <tapani.palli@intel.com>
Tue, 26 Sep 2023 09:25:42 +0000 (12:25 +0300)
committerMarge Bot <emma+marge@anholt.net>
Mon, 2 Oct 2023 12:05:53 +0000 (12:05 +0000)
commitc02db0d90ff749977170163479c06a87429de942
treed742e3246baed8c7d6de2130227242008aa6ea7e
parent558738e3c5465dacd17c6d0da1ee0ff60b19983e
iris: flush data cache when flushing HDC on GFX < 12

This matches what anv driver does.

Fixes: a969ad1d ("iris: Demote DC flush to HDC flush in cache tracker")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6314
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25399>
src/gallium/drivers/iris/iris_state.c