panfrost,lima: De-Galliumize tiling routines
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 14 Jan 2020 17:52:02 +0000 (12:52 -0500)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 21 Jan 2020 13:35:16 +0000 (08:35 -0500)
commitf2d876b2b2335397661d2bd7663a7b353a1b839e
tree00e547f5d8dc24dd0e2a18abe0298520b90e4fba
parent0ca7ab1c972843057ff622c1edb31c86872102dd
panfrost,lima: De-Galliumize tiling routines

There's an implicit dependence on Gallium here that will add more
complexity than needed when testing/optimizing out of driver as well as
potentially Vulkanizing. We don't need a full pipe_box, just the x/y/w/h
properties directly.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Tested-by: Vasily Khoruzhick <anarsoul@gmail.com> #lima on Mali400
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3414>
src/gallium/drivers/lima/lima_resource.c
src/gallium/drivers/panfrost/pan_resource.c
src/panfrost/shared/pan_tiling.c
src/panfrost/shared/pan_tiling.h