panfrost: Move shared mem desc emission out of panfrost_launch_grid()
authorBoris Brezillon <boris.brezillon@collabora.com>
Thu, 5 Mar 2020 08:57:44 +0000 (09:57 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Tue, 10 Mar 2020 11:47:33 +0000 (12:47 +0100)
commit36725be4d952117f75c112db7eecbd3bc1f3139e
treeba9584deaa153a4b76265b6d370532d9180ad6fc
parent0b735a2d808205c8a3e5e496d85693db85f7716c
panfrost: Move shared mem desc emission out of panfrost_launch_grid()

Let's move the shared memory descriptor emission to a dedicated function
living with its pairs in pan_cmdstream.c.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4083>
src/gallium/drivers/panfrost/pan_cmdstream.c
src/gallium/drivers/panfrost/pan_cmdstream.h
src/gallium/drivers/panfrost/pan_compute.c