projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b688a6d
)
venus: re-use VN_DEBUG_NO_ABORT to disable ring monitoring abort()
author
Ryan Neph
<ryanneph@google.com>
Tue, 28 Mar 2023 22:40:09 +0000
(15:40 -0700)
committer
Marge Bot
<emma+marge@anholt.net>
Wed, 29 Mar 2023 15:48:38 +0000
(15:48 +0000)
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>
src/virtio/vulkan/vn_common.c
patch
|
blob
|
history
diff --git
a/src/virtio/vulkan/vn_common.c
b/src/virtio/vulkan/vn_common.c
index
73042de
..
da74c58
100644
(file)
--- a/
src/virtio/vulkan/vn_common.c
+++ b/
src/virtio/vulkan/vn_common.c
@@
-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();