intel/xehp: Implement XeHP workaround Wa_14013910100.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 19 Jun 2021 02:39:08 +0000 (19:39 -0700)
committerMarge Bot <emma+marge@anholt.net>
Tue, 11 Jan 2022 00:17:32 +0000 (00:17 +0000)
commiteeb3f4594d5acc40c1febf22f97ddb51517a0c88
tree9f241099e0f34834aba0ace6a8c11626194d1c0d
parentb550b3c89c15f20367b4bebb5939e08022d80e0e
intel/xehp: Implement XeHP workaround Wa_14013910100.

XeHP platforms require the invalidation of the instruction cache after
a STATE_BASE_ADDRESS change due to a hardware bug potentially leading
to instruction cache pollution.  Note that the workaround text says
it's applicable "DG2 128/256/512-A/B", however it's also marked as
permanent and not confirmed to be fixed in any specific steping, so we
apply it to all Gfx12HP platforms.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14278>
src/gallium/drivers/iris/iris_state.c
src/intel/vulkan/genX_cmd_buffer.c