freedreno: Move a6xx's setup_slices() to a shareable helper function.
authorEric Anholt <eric@anholt.net>
Tue, 26 Nov 2019 20:02:34 +0000 (12:02 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 11 Dec 2019 04:24:18 +0000 (04:24 +0000)
commitd9cf3e76bd45e83721f8ab7b9322302741d99668
tree9efbba823e31f28bc483110154e1b6b09f6f45cf
parent67258a44d2c7d77509e0983e5925940bcee277cf
freedreno: Move a6xx's setup_slices() to a shareable helper function.

We pass in all the parameters for setting up the layout, though freedreno
still sets a few of them up early (since it uses layout helpers in making
some decisions about the layout setup parameters that will be cleaned up
once krh's blitter work lands).
src/freedreno/Makefile.sources
src/freedreno/fdl/fd6_layout.c [new file with mode: 0644]
src/freedreno/fdl/freedreno_layout.c [new file with mode: 0644]
src/freedreno/fdl/freedreno_layout.h
src/freedreno/fdl/meson.build [new file with mode: 0644]
src/freedreno/meson.build
src/freedreno/vulkan/meson.build
src/gallium/drivers/freedreno/a6xx/fd6_resource.c
src/gallium/drivers/freedreno/freedreno_resource.c
src/gallium/drivers/freedreno/meson.build