tu: Skip tu_tiling_config_update_tile_layout() if not using gmem

Otherwise pass->tile_align_w will be 0, leading to a divide by zero and
undefined behavior. In practice, I saw this lead to an infinite loop in
tests like

dEQP-VK.draw.instanced.draw_indexed_indirect_vk_primitive_topology_line_list_attrib_divisor_0_multiview

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Part-of: <!9606>
59 jobs for !9606 with skip-tu_tiling_config_update_tile_layout in 14 minutes and 36 seconds (queued for 4 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed sanity #8403171

00:00:11

 
  Container
passed arm_build #8403176
aarch64

00:00:18

passed arm_test-base #8403178

00:00:17

passed windows_build_vs2019 #8403180
windows shell 1809 mesa

00:00:08

passed x86_build-base #8403173

00:00:17

passed x86_test-base #8403175

00:00:14

 
  Container 2
passed android_build #8403195

00:00:19

passed arm64_test #8403200

00:00:18

passed armhf_test #8403202

00:00:18

passed i386_build #8403190

00:00:18

passed kernel+rootfs_amd64 #8403183

00:00:13

passed kernel+rootfs_arm64 #8403184
aarch64

00:00:11

passed kernel+rootfs_armhf #8403186
aarch64

00:00:12

passed ppc64el_build #8403192

00:00:18

passed s390x_build #8403193

00:00:18

passed x86_build #8403188

00:00:18

passed x86_test-gl #8403197

00:00:15

passed x86_test-vk #8403198

00:00:18

 
  Meson X86 64
passed meson-clang #8403212

00:04:44

passed meson-clover #8403214

00:03:41

passed meson-clover-testing #8403207

00:01:39

passed meson-gallium #8403209

00:05:52

passed meson-release #8403210

00:02:47

passed meson-testing #8403204

00:01:53

passed meson-testing-asan #8403205

00:03:19

passed meson-vulkan #8403215

00:01:32

 
  Build Misc
passed meson-android #8403217

00:02:33

passed meson-arm64 #8403221
aarch64

00:02:24

passed meson-arm64-asan #8403223
aarch64

00:02:53

passed meson-arm64-build-test #8403225
aarch64

00:01:26

passed meson-armhf #8403219
aarch64

00:01:40

passed meson-i386 #8403227

00:01:36

passed meson-mingw32-x86_64 #8403232

00:01:41

passed meson-ppc64el #8403230
kvm

00:03:24

passed meson-s390x #8403228
kvm

00:03:42

 
  Freedreno
passed a306_gles2 #8403234
google-freedreno-db410c

00:04:35

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

00:08:50

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

00:08:44

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

00:08:46

passed a306_gles3_options #8403242
google-freedreno-db410c

00:02:35

passed a530_gles2 #8403244
google-freedreno-db820c

00:05:39

passed a530_gles31 1/2 #8403250
google-freedreno-db820c

00:05:26

passed a530_gles3 1/2 #8403246
google-freedreno-db820c

00:07:51

passed a530_gles31 2/2 #8403252
google-freedreno-db820c

00:05:55

passed a530_gles3 2/2 #8403248
google-freedreno-db820c

00:07:23

passed a530_piglit_gl #8403254
google-freedreno-db820c

00:09:36

passed a530_piglit_shader #8403257
google-freedreno-db820c

00:08:24

passed a630_gl #8403263
google-freedreno-cheza

00:01:16

passed a630_gles2 #8403259
google-freedreno-cheza

00:01:33

passed a630_gles3 #8403262
google-freedreno-cheza

00:04:38

passed a630_gles31 #8403261
google-freedreno-cheza

00:03:52

passed a630_gles_asan #8403265
google-freedreno-cheza

00:03:56

passed a630_gles_others #8403264
google-freedreno-cheza

00:02:31

passed a630_piglit_gl #8403269
google-freedreno-cheza

00:06:26

passed a630_piglit_shader #8403270
google-freedreno-cheza

00:05:03

passed a630-traces #8403271
google-freedreno-cheza

00:06:52

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

00:06:33

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

00:08:02

passed a630_vk_sysmem #8403268
google-freedreno-cheza

00:02:07