Mesa (main): panfrost,panvk: Remove broken v4 spilling code

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jul 22 23:33:43 UTC 2021


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

Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Thu Jul 22 17:34:07 2021 -0400

panfrost,panvk: Remove broken v4 spilling code

Tells you how much use Mali T720 gets that nobody noticed but
Icecream95...

Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Reported-by: Icecream95 <ixn at disroot.org>
Acked-by: Icecream95 <ixn at disroot.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12027>

---

 src/panfrost/lib/pan_cs.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/panfrost/lib/pan_cs.c b/src/panfrost/lib/pan_cs.c
index 20793472009..34adaf2bd47 100644
--- a/src/panfrost/lib/pan_cs.c
+++ b/src/panfrost/lib/pan_cs.c
@@ -553,10 +553,6 @@ pan_emit_tls(const struct panfrost_device *dev,
                         unsigned shift =
                                 panfrost_get_stack_shift(info->tls.size);
 
-                        /* TODO: Why do we need to make the stack bigger than other platforms? */
-	                if (dev->quirks & MIDGARD_SFBD)
-                                shift = MAX2(shift, 512);
-
                         cfg.tls_size = shift;
                         cfg.tls_base_pointer = info->tls.ptr;
                 }



More information about the mesa-commit mailing list