isl: use workaround framework for Wa_1207137018

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33236>
This commit is contained in:
Tapani Pälli 2025-01-27 09:53:07 +02:00 committed by Marge Bot
parent 405274fda4
commit 66aebfb1eb

View file

@ -1744,7 +1744,9 @@ isl_choose_miptail_start_level(const struct isl_device *dev,
return 15;
}
if (info->dim == ISL_SURF_DIM_3D &&
if ((ISL_GFX_VER(dev) == 9 ||
intel_needs_workaround(dev->info, 1207137018)) &&
info->dim == ISL_SURF_DIM_3D &&
isl_tiling_is_std_y(tile_info->tiling) &&
_isl_surf_info_supports_ccs(dev, info->format, info->usage)) {
/* From the workarounds section in the SKL PRM: