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

Author: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Date:   Tue Dec 12 09:29:27 2023 +0200

isl: drop AUX-TT CCS alignment with INTEL_DEBUG=noccs

Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Reviewed-by: José Roberto de Souza <jose.so...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26644>

---

 src/intel/isl/isl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
index a9abf3938fd..75a21aab42e 100644
--- a/src/intel/isl/isl.c
+++ b/src/intel/isl/isl.c
@@ -2577,6 +2577,7 @@ isl_calc_base_alignment(const struct isl_device *dev,
        * there.
        */
       if (dev->info->has_aux_map &&
+          !INTEL_DEBUG(DEBUG_NO_CCS) &&
           !(info->usage & ISL_SURF_USAGE_DISABLE_AUX_BIT)) {
          base_alignment_B = MAX(base_alignment_B, dev->info->verx10 >= 125 ?
                1024 * 1024 : 64 * 1024);

Reply via email to