Skip to content

anv: Improve and rely on implicit CCS disabling for XeHP

Nanley Chery requested to merge nchery/mesa:fix/xehp-mem-types-v2 into main

On TGL+, we disable all auxiliary compression types on an image when binding it to a BO that lacks implicit CCS. This disabling could happen more often on XeHP due to the fact that apps can now place images in one of two heaps: LMEM (which supports implicit CCS) and SMEM (which doesn't).

This MR changes this behavior so that anv doesn't remove the compression types that can exist in the SMEM heap: HiZ and MCS. It also gets rid of an incorrect attempt to make applications place CCS-enabled images in the LMEM heap.

With this, XeHP passes the tests in dEQP-VK.memory.requirements.*tiling_optimal

Merge request reports