panfrost: Fix polygon list size computations
authorIcecream95 <ixn@disroot.org>
Sat, 22 May 2021 19:10:19 +0000 (07:10 +1200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 24 May 2021 13:05:32 +0000 (13:05 +0000)
commitfe9d37b0c6e89f11a5f25022a851da81d19dab73
tree64892d0c33444d9e877f18ca77623be39118ea95
parentf1ba85995c2eebddf307561b2202f2dacb94a400
panfrost: Fix polygon list size computations

As noted in f5c293425fa ("panfrost: Correct polygon size computations"),
"We do have to be careful to add the header size to total comptued BO
size."

Fixes: ff3eada7eb4 ("panfrost: Use the generic preload and FB helpers in the gallium driver")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4660
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4737
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10943>
src/panfrost/lib/pan_tiler.c