Xe kmd don't suffer this yet because it still lacks MTL support.
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21972>
if (getparam(fd, I915_PARAM_HAS_CONTEXT_ISOLATION, &val))
devinfo->has_context_isolation = val;
+ /* TODO: i915 don't require anymore the 2Mb alignment for gfx 12.5 and
+ * newer but using 64k brings some issues like unaligned offsets with
+ * aux map aligned to 1Mb in MTL.
+ */
if (devinfo->verx10 >= 125)
devinfo->mem_alignment = 2 * 1024 * 1024;
else if (devinfo->has_local_mem)