panfrost: Define the Surface and Surface-with-stride descriptors
authorBoris Brezillon <boris.brezillon@collabora.com>
Thu, 25 Mar 2021 09:18:35 +0000 (10:18 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Fri, 26 Mar 2021 07:46:01 +0000 (08:46 +0100)
commit7c08bb5ad0dccd3128b6ad238e0bd6217603ad99
treec6ea9971a7265a15f97788be8e618032a58418d4
parenta1c0cc3fdde0cb943cb320c2471ae35d05325874
panfrost: Define the Surface and Surface-with-stride descriptors

Right now the code manipulates mali_ptr, but having surface descriptors
properly defined will allow us to use the descriptors allocator when
allocating a midgard texture.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9827>
src/panfrost/lib/midgard.xml