mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-17 01:40:36 +01:00
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:
parent
b2050f1173
commit
4ac47f8dde
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue