isl: disable miptails on gfx12 with yuv formats

A number of CTS tests are failing, like :

   dEQP-VK.ycbcr.format.b8g8r8g8_422_unorm.vertex_optimal

Failures are reproduced on simulation.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23620>
This commit is contained in:
Lionel Landwerlin 2023-06-27 14:42:52 +03:00 committed by Marge Bot
parent aa31683dde
commit 4e36aa507e

View file

@ -1549,6 +1549,12 @@ isl_choose_miptail_start_level(const struct isl_device *dev,
if (isl_format_is_planar(info->format))
return 15;
/* TODO: figure out why having YUV formats in the miptail on Gfx12 does not
* work.
*/
if (ISL_GFX_VER(dev) == 12 && isl_format_is_yuv(info->format))
return 15;
assert(tile_info->tiling == ISL_TILING_64 || isl_tiling_is_std_y(tile_info->tiling));
assert(info->samples == 1);