From 02b8f8704cfa7d4514795c9e5b8444e4a5c2fb25 Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Fri, 25 Jun 2021 15:06:12 +0200 Subject: [PATCH] freedreno/a6xx: Make SP_XS_PVT_MEM_HW_STACK_OFFSET non-inline Otherwise we can't use the helper to pack it as it collides with the function in a6xx-pack.xml.h. Part-of: --- src/freedreno/registers/adreno/a6xx.xml | 31 ++++++++++++++----------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/src/freedreno/registers/adreno/a6xx.xml b/src/freedreno/registers/adreno/a6xx.xml index 67e78bd0ae2..5feac542d98 100644 --- a/src/freedreno/registers/adreno/a6xx.xml +++ b/src/freedreno/registers/adreno/a6xx.xml @@ -2858,6 +2858,17 @@ to upconvert to 32b float internally? + + + This seems to be be the equivalent of HWSTACKOFFSET in + a3xx. The ldp/stp offset formula above isn't affected by + HWSTACKSIZEPERTHREAD at all, so the HW return address + stack seems to be after all the normal per-SP private + memory. + + + + @@ -2866,7 +2877,7 @@ to upconvert to 32b float internally? - + - + @@ -3146,15 +3157,7 @@ to upconvert to 32b float internally? - - - This seems to be be the equivalent of HWSTACKOFFSET in - a3xx. The offset formula isn't affected by - HWSTACKOFFSETPERTHREAD at all, so the HW return address - stack seems to be after all the normal per-SP private - memory. - - +