isl: Disable MCS compression just on ACM platform

We're still seeing failures with render target reads of multisampled
images on Alchemist platforms, but Meteorlake doesn't appear to have
that issue. Enable MCS on Meteorlake.

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22802>
This commit is contained in:
Sagar Ghuge
2023-05-01 19:55:19 -07:00
committed by Marge Bot
parent efa6594536
commit 27d30fe3c0

View File

@@ -2326,8 +2326,8 @@ isl_surf_get_mcs_surf(const struct isl_device *dev,
if (surf->msaa_layout != ISL_MSAA_LAYOUT_ARRAY)
return false;
/* We are seeing failures with mcs on dg2/mtl, so disable it for now. */
if (ISL_GFX_VERX10(dev) == 125)
/* We are seeing failures with mcs on dg2, so disable it for now. */
if (intel_device_info_is_dg2(dev->info))
return false;
/* The following are true of all multisampled surfaces */