Skip to content

intel: Fix aux map alignments on 32-bit builds.

Kenneth Graunke requested to merge kwg/mesa:aux-map-32b-fix into master

ALIGN() brilliantly uses uintptr_t, making it unsafe for use with 64-bit GPU addresses in 32-bit builds of the driver. Use align64() instead, which uses uint64_t.

Fixes assertion failures when running any 32-bit program on Tigerlake.

Fixes: 2e6a7ced ("iris/gen12: Write GFX_AUX_TABLE base address register") Fixes: 0d0290bb ("intel/common: Add surface to aux map translation table support")

Merge request reports