From 58a843ab14e0eecf044a35154da72cdf7ab6f15a Mon Sep 17 00:00:00 2001 From: Nanley Chery Date: Tue, 7 Dec 2021 20:40:15 -0500 Subject: [PATCH] Revert "intel/isl: Don't reconfigure aux surfaces for MCS" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 2f0fbe06e65c5ae6c3e9ab3943a4a7d01ae9dc2f. We don't handle the reconfiguration of existing HiZ surfaces, nor do we do so for CCS surfaces. This code path is unused, so we remove it. Reviewed-by: Tapani Pälli Acked-by: Kenneth Graunke Part-of: --- src/intel/isl/isl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c index 79d64a9f7de..f100cc523d2 100644 --- a/src/intel/isl/isl.c +++ b/src/intel/isl/isl.c @@ -2057,9 +2057,6 @@ isl_surf_get_mcs_surf(const struct isl_device *dev, if (surf->msaa_layout != ISL_MSAA_LAYOUT_ARRAY) return false; - if (mcs_surf->size_B > 0) - return false; - /* The following are true of all multisampled surfaces */ assert(surf->samples > 1); assert(surf->dim == ISL_SURF_DIM_2D);