panfrost: Move pan_bo to root panfrost
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 23 Mar 2020 23:36:46 +0000 (19:36 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 31 Mar 2020 01:12:26 +0000 (01:12 +0000)
commit0f65f00a0dc438350454ba247b453cf80271a671
tree4031252d57a15d8c8d6bfccb6457961c059cda23
parent3283c7f4dadafee97e9af0e6613da43fad3c0019
panfrost: Move pan_bo to root panfrost

Now that its Gallium dependencies have been resolved, we can move this
all out to root. The only nontrivial change here is keeping the
pandecode calls in Gallium-panfrost to avoid creating a circular
dependency between encoder/decoder. This could be solved with a third
drm folder but this seems less intrusive for now and Roman would
probably appreciate if I went longer than 8 hours without breaking the
Android build.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4382>
16 files changed:
src/gallium/drivers/panfrost/Makefile.sources
src/gallium/drivers/panfrost/meson.build
src/gallium/drivers/panfrost/pan_assemble.c
src/gallium/drivers/panfrost/pan_bo.c [deleted file]
src/gallium/drivers/panfrost/pan_bo.h [deleted file]
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_job.c
src/gallium/drivers/panfrost/pan_resource.c
src/gallium/drivers/panfrost/pan_resource.h
src/gallium/drivers/panfrost/pan_util.h [deleted file]
src/panfrost/Makefile.sources
src/panfrost/encoder/meson.build
src/panfrost/encoder/pan_bo.c [new file with mode: 0644]
src/panfrost/encoder/pan_bo.h [new file with mode: 0644]
src/panfrost/encoder/pan_device.h
src/panfrost/encoder/pan_util.h [new file with mode: 0644]