panfrost,panvk: Remove broken v4 spilling code
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 22 Jul 2021 21:34:07 +0000 (17:34 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 22 Jul 2021 23:19:54 +0000 (23:19 +0000)
Tells you how much use Mali T720 gets that nobody noticed but
Icecream95...

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

src/panfrost/lib/pan_cs.c

index 2079347..34adaf2 100644 (file)
@@ -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;
                 }