From 4ac47f8dded346fb272e0e61977c6debaba616ec Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Wed, 18 Feb 2026 10:30:44 +0200 Subject: [PATCH] anv: apply the same ccs disabling for Xe3 than Xe2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The new compression scheme introduced in Xe2 also applies to Xe3, so we're liable for the same bugs. Signed-off-by: Lionel Landwerlin Fixes: 2418c91537 ("anv/drirc: disable Xe2 CCS drm modifiers for GTK engine") Reviewed-by: Tapani Pälli Part-of: --- src/intel/vulkan/anv_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index d6e72c361eb..2de875141eb 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c @@ -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;