freedreno/fdl6: rework layout code a bit (reduce linear align to 64 bytes)
authorJonathan Marek <jonathan@marek.ca>
Tue, 9 Jun 2020 22:48:34 +0000 (18:48 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 18 Jun 2020 02:26:43 +0000 (02:26 +0000)
commitd53dc6c37680eba8e8fedde055e03b0a61407467
tree4a0987b74df86a9e5c31cba7bc7740582117f57a
parent3a9ab3b6e96ee37a89a99dc6a825022cdd4b7c35
freedreno/fdl6: rework layout code a bit (reduce linear align to 64 bytes)

Reduce linear alignment, and rework the layout code a bit.

This rework has a side effect of also increasing the alignment on linear
levels of tiled (non-ubwc) cpp=1 and cpp=2 layouts. Since we should be
UBWC for those cases anyway, its not a big loss.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5013>
src/freedreno/fdl/fd6_layout.c
src/freedreno/fdl/fd6_layout_test.c
src/freedreno/vulkan/tu_clear_blit.c
src/gallium/drivers/freedreno/freedreno_resource.c