freedreno/gmem: rework gmem layout algo
authorRob Clark <robdclark@chromium.org>
Fri, 8 May 2020 23:35:29 +0000 (16:35 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 12 May 2020 18:16:48 +0000 (18:16 +0000)
commit1bd38746d5a2d21a2f77e2bf1c6fec17ca5eb6ac
tree4d708088fe2f2b36b681f22c6ffba78af49f56a7
parentc46f46befe67f2e64f1492e5b46974e277ec6ac7
freedreno/gmem: rework gmem layout algo

And try a bit harder to find an optimal layout.  Improves on a sub-
optimal layout we arrive at in the 4 MRT pass in manhattan, picking
up a bit more than 3%.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4976>
src/gallium/drivers/freedreno/freedreno_gmem.c