panfrost: Identify mali_shared_memory structure
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 5 Feb 2020 20:58:28 +0000 (15:58 -0500)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Sun, 16 Feb 2020 14:16:46 +0000 (09:16 -0500)
commit254f40fd535ef57dee2bcc4afd97840749ce5918
tree8e90e811ce4809dc4796c9d0e4b297204a41c87c
parent418ca5dc1ac01045818ad3222d2e0bc51dc2e904
panfrost: Identify mali_shared_memory structure

This small structure is used to configure shared memory and stack for
compute shaders, and is also present at the beginning of framebuffer
descriptors. Let's factor it out.

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_mfbd.c
src/gallium/drivers/panfrost/pan_sfbd.c
src/panfrost/include/panfrost-job.h
src/panfrost/pandecode/decode.c