anv: Emit CS Stall before Instruction Cache flush for gen12 WA

Before flushing the instruction cache with a pipe control, we need to
use a CS Stall pipe control.

Ref: GEN:BUG:1409226450
Rework: Add stall-at-scoreboard (Lionel)
Rework: Merge with other anvil pre-invalidate stalls (Lionel)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Tested-by: Marge Bot <mesa/mesa!3457>
Part-of: <mesa/mesa!3457>
38 jobs for !3457 with wa-1409226450 in 22 minutes and 26 seconds (queued for 6 seconds)
detached
Status Job ID Name Coverage
  Container
passed #1486586
aarch64
arm_build

00:00:19

passed #1486588
aarch64
arm_test

00:00:20

passed #1486581
x86_build

00:00:19

passed #1486584
x86_build_old

00:00:21

passed #1486583
x86_test-gl

00:00:23

 
  Build
passed #1486595
aarch64
meson-arm64

00:12:06

passed #1486593
aarch64
meson-armhf

00:11:32

passed #1486597
meson-clang

00:08:48

passed #1486601
meson-clover

00:06:15

passed #1486602
meson-clover-old-llvm

00:06:10

passed #1486604
meson-i386

00:04:56

passed #1486592
meson-main

00:08:50

passed #1486605
meson-mingw32-x86_64

00:05:42

passed #1486590
meson-testing

00:06:41

passed #1486603
meson-vulkan

00:04:17

passed #1486606
scons

00:06:23

passed #1486607
scons-old-llvm

00:05:08

passed #1486599
scons-swr

00:03:52

passed #1486600
scons-win64

00:05:40

 
  Test
passed #1486626
db410c
arm64_a306_gles2

00:06:49

passed #1486623
mesa-cheza
arm64_a630_gles2

00:03:38

passed #1486625
mesa-cheza
arm64_a630_gles3

00:09:27

passed #1486624
mesa-cheza
arm64_a630_gles31

00:07:14

passed #1486611
lava-meson-gxl-s905x-libretech-cc
lima-mali450-test:arm64

00:09:52

passed #1486608
lava-sun50i-h6-pine-h64
panfrost-t720-test:arm64

00:08:24

passed #1486609
lava-rk3288-veyron-jaq
panfrost-t760-test:armhf

00:06:28

passed #1486610
lava-rk3399-gru-kevin
panfrost-t860-test:arm64

00:05:35

passed #1486613
piglit-glslparser

00:05:03

passed #1486612
piglit-quick_gl

00:06:46

passed #1486614
piglit-quick_shader

00:06:20

passed #1486615
test-llvmpipe-gles2

00:04:05

passed #1486616
test-softpipe-gles2

00:01:33

passed #1486619
test-softpipe-gles31 1/4

00:02:10

passed #1486617
test-softpipe-gles3 1/2

00:05:10

passed #1486620
test-softpipe-gles31 2/4

00:06:56

passed #1486621
test-softpipe-gles31 3/4

00:07:47

passed #1486622
test-softpipe-gles31 4/4

00:05:49

passed #1486618
test-softpipe-gles3 2/2

00:07:42