anv: use the device size of CS prefetch to pad secondary buffer calls

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Part-of: <!9679>
35 jobs for !9679 with review/prepare-cs-prefetch-size-change in 5 minutes and 24 seconds (queued for 2 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed #8130456
sanity

00:00:08

 
  Container
passed #8130462
aarch64
arm_build

00:00:17

passed #8130464
arm_test-base

00:00:13

passed #8130466
windows shell 1809 mesa
windows_build_vs2019

00:00:08

passed #8130458
x86_build-base

00:00:19

passed #8130460
x86_test-base

00:00:18

 
  Container 2
passed #8130484
android_build

00:00:14

passed #8130490
arm64_test

00:00:12

passed #8130492
armhf_test

00:00:12

passed #8130478
i386_build

00:00:14

passed #8130470
kernel+rootfs_amd64

00:00:10

passed #8130471
aarch64
kernel+rootfs_arm64

00:01:11

passed #8130473
aarch64
kernel+rootfs_armhf

00:00:12

passed #8130480
ppc64el_build

00:00:18

passed #8130482
s390x_build

00:00:12

passed #8130476
x86_build

00:00:18

passed #8130486
x86_test-gl

00:00:13

passed #8130488
x86_test-vk

00:00:19

 
  Meson X86 64
passed #8130504
meson-clang

00:03:39

passed #8130505
meson-clover

00:03:35

passed #8130498
meson-clover-testing

00:00:58

passed #8130500
gstreamer
meson-gallium

00:01:21

passed #8130503
meson-release

00:02:02

passed #8130494
meson-testing

00:00:58

passed #8130496
meson-testing-asan

00:04:14

passed #8130506
meson-vulkan

00:02:50

 
  Build Misc
passed #8130507
meson-android

00:01:41

passed #8130509
aarch64
meson-arm64

00:01:29

passed #8130510
aarch64
meson-arm64-asan

00:02:51

passed #8130511
aarch64
meson-arm64-build-test

00:01:22

passed #8130508
aarch64
meson-armhf

00:01:41

passed #8130512
meson-i386

00:02:39

passed #8130515
meson-mingw32-x86_64

00:04:33

passed #8130514
kvm
meson-ppc64el

00:02:50

passed #8130513
kvm
meson-s390x

00:03:42