Mesa (main): intel/isl: Drop extra devinfo checks for CCS support

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Dec 7 23:58:51 UTC 2021


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

Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Mon Dec  6 10:27:55 2021 -0500

intel/isl: Drop extra devinfo checks for CCS support

These checks are done in isl_format_supports_ccs_*. Since
isl_surf_supports_ccs calls these functions, it doesn't need to check
them itself.

Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14082>

---

 src/intel/isl/isl.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
index 2c980e3f9f5..3e06463f55f 100644
--- a/src/intel/isl/isl.c
+++ b/src/intel/isl/isl.c
@@ -2121,15 +2121,6 @@ isl_surf_supports_ccs(const struct isl_device *dev,
                       const struct isl_surf *surf,
                       const struct isl_surf *hiz_or_mcs_surf)
 {
-   /* CCS support does not exist prior to Gfx7 */
-   if (ISL_GFX_VER(dev) <= 6)
-      return false;
-
-   /* Wa_22011186057: Disable compression on ADL-P A0 */
-   if (dev->info->platform == INTEL_PLATFORM_ADL && dev->info->gt == 2 &&
-       dev->info->revision == 0)
-      return false;
-
    if (surf->usage & ISL_SURF_USAGE_DISABLE_AUX_BIT)
       return false;
 



More information about the mesa-commit mailing list