694f2bbeeb
Patch chooses write through mode with storage surfaces when cache policy is set via ISL_SURF_USAGE_CACHE_POLICY_WT. This fixes rendering artifacts seen in: Space Engineers 2 Hogwarts Legacy Plague Tale: Requiem This was tested with some workloads on MTL and all on LNL/BMG. It fixes Space Engineers 2 rendering artifacts but not the crash which is a separate issue. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12714 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12750 Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34044>