venus: Increase the base sleep of vn_relax
authorRenato Pereyra <renatopereyra@google.com>
Thu, 24 Mar 2022 23:12:43 +0000 (16:12 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 25 Mar 2022 00:16:39 +0000 (00:16 +0000)
commit737937f45e4231dd596780a856270693566de658
tree39d26e27896dc3bd79346597f6ce93ada715fb3f
parent8068c68b1ffaeb6e25b569203dffe3dd9459759b
venus: Increase the base sleep of vn_relax

Based on profiling, these 10us sleeps are behaving closer to ~60us
and causing higher-than-necessary CPU overhead. 120us seems like a
good balance between latency management and overhead.

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