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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user