freedreno: switch to layout helper

The slices table and most of the other layout fields in the
freedreno_resource moves into fdl_layout.

v2: Changes by anholt to not have duplicate fields, which was introducing
    a surprising behavior change in resource layout (using the
    level_linear helper before the setup of the shadowed fields)

Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Rob Clark <robdclark@chromium.org>
39 jobs for !2829 with fdl in 26 minutes and 33 seconds (queued for 2 minutes and 25 seconds)
detached
Status Job ID Name Coverage
  Container
passed arm_build #1019815
aarch64

00:00:30

passed arm_test #1019818
aarch64

00:00:32

passed lava_arm64 #1019808

00:00:20

passed lava_armhf #1019806

00:00:14

passed x86_build #1019809

00:00:21

passed x86_build_old #1019813

00:00:25

passed x86_test #1019811

00:00:21

 
  Build
passed lava-build:arm64 #1019822

00:01:00

passed lava-build:armhf #1019820

00:00:54

passed meson-arm64 #1019829
aarch64

00:03:41

passed meson-armhf #1019827
aarch64

00:02:31

passed meson-clang #1019831

00:01:56

passed meson-clover #1019837

00:03:30

passed meson-clover-old-llvm #1019839

00:04:34

passed meson-i386 #1019842

00:01:55

passed meson-main #1019825

00:01:39

passed meson-mingw32-x86_64 #1019844

00:00:46

passed meson-testing #1019823

00:00:42

passed meson-vulkan #1019840

00:05:45

passed scons #1019846

00:08:05

passed scons-old-llvm #1019847

00:02:06

passed scons-swr #1019833

00:02:33

passed scons-win64 #1019835

00:02:14

 
  Test
passed arm64_a306_gles2 #1019869
db410c

00:05:04

passed arm64_a630_gles2 #1019866
mesa-cheza

00:01:32

passed arm64_a630_gles3 #1019868
mesa-cheza

00:05:59

passed arm64_a630_gles31 #1019867
mesa-cheza

00:04:25

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

00:07:11

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

00:07:11

passed piglit-glslparser+quick_shader #1019855

00:04:41

passed piglit-quick_gl #1019853

00:09:07

passed test-llvmpipe-gles2 #1019857

00:03:30

passed test-softpipe-gles2 #1019858

00:02:14

passed test-softpipe-gles31 1/4 #1019862

00:03:43

passed test-softpipe-gles3 1/2 #1019860

00:05:19

passed test-softpipe-gles31 2/4 #1019863

00:05:00

passed test-softpipe-gles31 3/4 #1019864

00:03:56

passed test-softpipe-gles31 4/4 #1019865

00:02:54

passed test-softpipe-gles3 2/2 #1019861

00:04:30