venus: trace vn_ring_wait_space
authorChia-I Wu <olvaffe@gmail.com>
Wed, 9 Feb 2022 23:48:36 +0000 (15:48 -0800)
committerMarge Bot <emma+marge@anholt.net>
Sat, 19 Feb 2022 03:57:30 +0000 (03:57 +0000)
commit5f3e50b27cfaeff09cd242c39c28f3a241fef5b7
tree29fc18c505c128e872939cedb57979c91e3ba44f
parent7cb2e9a8f073a6083e2b1dcaa025229ca337e517
venus: trace vn_ring_wait_space

It is good to know that we run out of ring space and have to wait.  This
happens easily with fossilize-replay because encoding a
vkCreateGraphicsPipeline takes microseconds while executing it can take
milliseconds, >100ms sometimes.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14966>
src/virtio/vulkan/vn_ring.c