panfrost: Allocate enough space for tiled formats
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 22 Jul 2020 17:44:35 +0000 (13:44 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 12 Aug 2020 13:59:20 +0000 (09:59 -0400)
commit4d0241dfed3c457ffbdc51bcc41cfe723e5bb586
treebddd3713e70043e42313ed49fbe8be234a2f04a4
parent8c0cb56fd9e9742af1186fe093bb38d7e2e59285
panfrost: Allocate enough space for tiled formats

We need to align and possible reserve space for a header.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tested-by: Icecream95 <ixn@keemail.me>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6159>
src/gallium/drivers/panfrost/pan_resource.c