panfrost: Unify bifrost_scratchpad with mali_shared_memory
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 10 Feb 2020 13:47:09 +0000 (08:47 -0500)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Sun, 16 Feb 2020 14:16:46 +0000 (09:16 -0500)
commit6dc105555b43695e1de49baf946c6179987f2f4a
tree0da37f93032eb10a88a7e65d243e15a8301f4efd
parent254f40fd535ef57dee2bcc4afd97840749ce5918
panfrost: Unify bifrost_scratchpad with mali_shared_memory

It looks like these are the same structure, so this allows us to reuse
mali_shared_memory across architectures, and dispels with the
Bifrost-specific mystery of the scratchpads... nothing so mysterious
after all, just stack.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3835>
src/gallium/drivers/panfrost/pan_compute.c
src/gallium/drivers/panfrost/pan_context.c
src/panfrost/include/panfrost-job.h
src/panfrost/pandecode/decode.c