From 11cb374a300dcfe0178c3e0204e02614e2f3b860 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 22 Jul 2021 17:34:07 -0400 Subject: [PATCH] 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 Reported-by: Icecream95 Acked-by: Icecream95 Part-of: --- 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; }