UPSTREAM: anv: disable preemption on 3DPRIMITIVE on gfx12

To workaround a push constant corruption issue.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5963
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5662
Cc: mesa-stable
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15753>
(cherry picked from commit 88f77aa811befffd931571216bb4d6978a1fb155)

BUG=b:202438593
TEST=Run games known to hit the applicable rendering artifacts and high-level
check for performance impact

Change-Id: I1de83a0bdb4da235e147eab01eda31eb30cc73ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/mesa/+/3575181
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Chia-I Wu <olv@google.com>
Tested-by: Renato Pereyra <renatopereyra@google.com>
Reviewed-by: Chia-I Wu <olv@chromium.org>
Commit-Queue: Renato Pereyra <renatopereyra@google.com>
2 files changed