From 27d30fe3c0e71efd90fcfe209d8515b195b0075f Mon Sep 17 00:00:00 2001 From: Sagar Ghuge Date: Mon, 1 May 2023 19:55:19 -0700 Subject: [PATCH] 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 Reviewed-by: Kenneth Graunke Reviewed-by: Nanley Chery Part-of: --- src/intel/isl/isl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c index f6dd87862b1..994778af6bc 100644 --- a/src/intel/isl/isl.c +++ b/src/intel/isl/isl.c @@ -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 */