turnip,freedreno/a6xx: tell hw the size of shared mem used by CS

Before, we only used 2k of shared memory.

It was found that 5 lower bits of SP_CS_UNKNOWN_A9B1 do control
the available size of shared memory for compute shaders, with
AVAILABLE_SIZE = (SP_CS_UNKNOWN_A9B1_SHARED_SIZE + 1) * 1k
up to 32k. And SP_CS_UNKNOWN_A9B1_SHARED_SIZE being zero enables
all 32k of shared memory.

Fixes tests:
 dEQP-VK.rasterization.line_continuity.line-strip
 dEQP-VK.memory_model.message_passing.core11.u32.coherent.fence_fence.atomicwrite.workgroup.payload_local.buffer.guard_nonlocal.workgroup.comp
 dEQP-VK.memory_model.message_passing.core11.u32.coherent.fence_fence.atomicwrite.workgroup.payload_nonlocal.workgroup.guard_local.buffer.comp
 dEQP-VK.memory_model.write_after_read.core11.u32.coherent.fence_fence.atomicwrite.workgroup.payload_local.image.guard_nonlocal.workgroup.comp

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <!9157>
54 jobs for !9157 with turnip/fix/cs-shared-size in 17 minutes and 5 seconds (queued for 2 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed #7448739
sanity

00:00:10

 
  Container
passed #7448742
aarch64
arm_build

00:00:15

passed #7448743
arm_test-base

00:00:13

passed #7448744
windows shell 1809 mesa
windows_build_vs2019

00:00:10

passed #7448740
x86_build-base

00:00:14

passed #7448741
x86_test-base

00:00:14

 
  Container 2
passed #7448752
android_build

00:00:11

passed #7448755
arm64_test

00:00:12

passed #7448756
armhf_test

00:00:19

passed #7448749
i386_build

00:00:20

passed #7448745
kernel+rootfs_amd64

00:00:21

passed #7448746
aarch64
kernel+rootfs_arm64

00:00:12

passed #7448747
aarch64
kernel+rootfs_armhf

00:00:13

passed #7448750
ppc64el_build

00:00:12

passed #7448751
s390x_build

00:00:18

passed #7448748
x86_build

00:00:19

passed #7448753
x86_test-gl

00:00:16

passed #7448754
x86_test-vk

00:00:19

 
  Meson X86 64
passed #7448762
meson-clang

00:02:45

passed #7448763
meson-clover

00:04:53

passed #7448759
meson-clover-testing

00:01:51

passed #7448760
gstreamer
meson-gallium

00:01:17

passed #7448761
meson-release

00:01:54

passed #7448757
meson-testing

00:02:17

passed #7448758
meson-testing-asan

00:03:52

passed #7448764
meson-vulkan

00:01:51

 
  Build Misc
passed #7448765
meson-android

00:00:59

passed #7448767
aarch64
meson-arm64

00:01:49

passed #7448768
aarch64
meson-arm64-asan

00:04:04

passed #7448769
aarch64
meson-arm64-build-test

00:01:47

passed #7448766
aarch64
meson-armhf

00:01:50

passed #7448770
meson-i386

00:02:44

passed #7448773
meson-mingw32-x86_64

00:02:12

passed #7448772
kvm
meson-ppc64el

00:01:44

passed #7448771
kvm
meson-s390x

00:02:53

 
  Freedreno
passed #7448774
google-freedreno-db410c
a306_gles2

00:08:05

passed #7448775
google-freedreno-db410c
a306_gles3 1/3

00:07:42

passed #7448776
google-freedreno-db410c
a306_gles3 2/3

00:08:28

passed #7448777
google-freedreno-db410c
a306_gles3 3/3

00:08:00

passed #7448778
google-freedreno-db410c
a306_gles3_options

00:06:29

passed #7448779
google-freedreno-db820c
a530_gles2 1/2

00:08:57

passed #7448780
google-freedreno-db820c
a530_gles2 2/2

00:07:42

passed #7448781
google-freedreno-db820c
a530_gles3

00:05:43

passed #7448782
google-freedreno-db820c
a530_gles31

00:07:54

passed #7448786
google-freedreno-cheza
a630_gl

00:01:22

passed #7448783
google-freedreno-cheza
a630_gles2

00:01:32

passed #7448785
google-freedreno-cheza
a630_gles3

00:04:46

passed #7448784
google-freedreno-cheza
a630_gles31

00:04:00

passed #7448788
google-freedreno-cheza
a630_gles_asan

00:04:18

passed #7448787
google-freedreno-cheza
a630_gles_others

00:02:36

passed #7448792
google-freedreno-cheza
a630-traces

00:10:58

passed #7448789
google-freedreno-cheza
a630_vk 1/2

00:06:18

passed #7448790
google-freedreno-cheza
a630_vk 2/2

00:07:52

passed #7448791
google-freedreno-cheza
a630_vk_sysmem

00:02:09