v3dv: Switch to the common device lost tracking
authorJason Ekstrand <jason.ekstrand@collabora.com>
Mon, 4 Apr 2022 14:50:26 +0000 (09:50 -0500)
committerMarge Bot <emma+marge@anholt.net>
Wed, 13 Apr 2022 17:22:14 +0000 (17:22 +0000)
commit8bd7bd957791170c00702467844176644d2808bd
tree2d55ff562b6688837001e6ceb2f9810220c83ee5
parent32527f3cccd07a7442abc1264231c2a8e77ddc38
v3dv: Switch to the common device lost tracking

Vulkan requires that, once the device has been lost, you keep returning
VK_ERROR_DEVICE_LOST.  We've got tracking for this in common code; it
just needs to be wired up.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15704>
src/broadcom/vulkan/v3dv_device.c
src/broadcom/vulkan/v3dv_query.c
src/broadcom/vulkan/v3dv_queue.c