panfrost: Fix crash in compute variant allocation
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 20 Jan 2020 21:01:53 +0000 (16:01 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Jan 2020 13:48:24 +0000 (13:48 +0000)
commit4936120230f07b959ec902aca989fdeae4e80d55
tree4941dc499f692e852e7f164a1bfab14ce4a79a78
parentd817f2c69615cf37b78f484a25b7831ebe9dbe6f
panfrost: Fix crash in compute variant allocation

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fixes: d8a3501f1b2 ("panfrost: Dynamically allocate shader variants")
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3515>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3515>
src/gallium/drivers/panfrost/pan_compute.c