panfrost: Fix NULL deref in pan_sfbd
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 19 Feb 2021 14:58:33 +0000 (09:58 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 22 Feb 2021 19:17:49 +0000 (19:17 +0000)
commit76fb3961b12da083c18a25cde6e9a29ae3fdd498
tree6c9186b1cd0098e140ad205932bdec58da39802a
parenta124c47b9f90c3f18032928c24a06d157a0334c1
panfrost: Fix NULL deref in pan_sfbd

The last of the nr_cbufs audit changes.

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