From 66aebfb1eb92a1db2d9dd0ee880d28949adce3e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tapani=20P=C3=A4lli?= Date: Mon, 27 Jan 2025 09:53:07 +0200 Subject: [PATCH] isl: use workaround framework for Wa_1207137018 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tapani Pälli Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/isl/isl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c index 1cd8449012a..15c12fc2c83 100644 --- a/src/intel/isl/isl.c +++ b/src/intel/isl/isl.c @@ -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: