anv: apply the same ccs disabling for Xe3 than Xe2

The new compression scheme introduced in Xe2 also applies to Xe3, so
we're liable for the same bugs.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 2418c91537 ("anv/drirc: disable Xe2 CCS drm modifiers for GTK engine")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39953>
This commit is contained in:
Lionel Landwerlin 2026-02-18 10:30:44 +02:00 committed by Marge Bot
parent b2050f1173
commit 4ac47f8dde

View file

@ -1929,7 +1929,7 @@ anv_image_init(struct anv_device *device, struct anv_image *image,
}
/* Workaround to disable XE2 CCS modifiers from drirc. */
if (device->info->ver == 20 &&
if (device->info->ver >= 20 &&
image->vk.tiling == VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT &&
device->physical->instance->disable_xe2_drm_ccs_modifiers)
isl_extra_usage_flags |= ISL_SURF_USAGE_DISABLE_AUX_BIT;