Module: Mesa
Branch: main
Commit: 27d30fe3c0e71efd90fcfe209d8515b195b0075f
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=27d30fe3c0e71efd90fcfe209d8515b195b0075f

Author: Sagar Ghuge <[email protected]>
Date:   Mon May  1 19:55:19 2023 -0700

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 <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Nanley Chery <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22802>

---

 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 */

Reply via email to