panvk: Fix null pointer dereference on cmd_buffer->ops
authornihui <shuizhuyuanluo@126.com>
Wed, 21 Dec 2022 15:41:28 +0000 (15:41 +0000)
committerMarge Bot <emma+marge@anholt.net>
Mon, 26 Dec 2022 12:57:07 +0000 (12:57 +0000)
commite584447aed4d0ee2730bf58737fec46dad5a06af
tree83da777e5dd78f52a2f9585c35043536d9c7fd1c
parent2024115b798ad58d00d6a11266290f211f4834fa
panvk: Fix null pointer dereference on cmd_buffer->ops

Fixes: 84cd81e10437 (panvk: Use common code for command buffer lifecycle
management)

Signed-off-by: Hui Ni <shuizhuyuanluo@126.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20406>
src/panfrost/vulkan/panvk_vX_cmd_buffer.c