venus: re-use VN_DEBUG_NO_ABORT to disable ring monitoring abort()

Useful to keep the hung guest process alive while debugging the renderer
process.

Signed-off-by: Ryan Neph <ryanneph@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22176>
This commit is contained in:
Ryan Neph
2023-03-28 15:40:09 -07:00
committed by Marge Bot
parent b688a6d227
commit ac9d36a42a
+1 -1
View File
@@ -217,7 +217,7 @@ vn_relax(struct vn_relax_state *state)
vn_ring_unset_status_bits(ring, VK_RING_STATUS_ALIVE_BIT_MESA);
}
if (!ring->monitor.alive) {
if (!ring->monitor.alive && !VN_DEBUG(NO_ABORT)) {
vn_log(NULL, "aborting on expired ring alive status at iter %d",
*iter);
abort();