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>
(cherry picked from commit 4ac47f8dde)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40092>
This commit is contained in:
Lionel Landwerlin 2026-02-18 10:30:44 +02:00 committed by Eric Engestrom
parent 849cdbcf72
commit 5fa6c15b36
2 changed files with 2 additions and 2 deletions

View file

@ -1884,7 +1884,7 @@
"description": "anv: apply the same ccs disabling for Xe3 than Xe2",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "2418c9153758783d250982f9b84fb65b1b484294",
"notes": null

View file

@ -1946,7 +1946,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;