isl: disable CCS on Ys/Yf

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-08-15 16:24:59 +03:00
committed by Marge Bot
parent 4e36aa507e
commit e182f5770d
+4
View File
@@ -2846,6 +2846,10 @@ isl_surf_supports_ccs(const struct isl_device *dev,
return false;
}
/* TODO: add CCS support for Ys/Yf */
if (isl_tiling_is_std_y(surf->tiling))
return false;
if (ISL_GFX_VER(dev) >= 12) {
if (isl_surf_usage_is_stencil(surf->usage)) {
/* HiZ and MCS aren't allowed with stencil */