crosvm/devices/src
David Stevens add16addf4 devices: virtio: support sharing fences
This change adds support for exporting virtio_gpu fences into
virtio_wl.

Without support for sending fences over virtio_wl, ARCVM must wait in
the guest for fences to be signaled before sending the corresponding
buffers to the host compositor. Under normal composition, it is
relatively rare for fences to be unsignaled when they need to be sent
over virtio_wl, although it does still happen at the far tail end. If
ARCVM falls back to client composition, without this change ARCVM needs
to wait on average 5-15ms (depending on how heavyweight the app's
rendering is) for fences to be signaled.

Support for sending fences over virtio_wl allows this extra latency to
be hidden.

BUG=b:136129939
TEST=Run YouTube+Play Store+graphics benchmarks simultaneously
in ARCVM, with and without client composition.

Change-Id: Ic7f57069c4171104c497aee6721c5c93dc6bafa4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2363512
Tested-by: David Stevens <stevensd@chromium.org>
Commit-Queue: David Stevens <stevensd@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
2020-12-03 04:57:57 +00:00
..
irqchip devices: add un-mutex-ed BusDevice in Bus 2020-11-23 22:47:29 +00:00
pci devices: add un-mutex-ed BusDevice in Bus 2020-11-23 22:47:29 +00:00
register_space
usb
utils
virtio devices: virtio: support sharing fences 2020-12-03 04:57:57 +00:00
acpi.rs devices: add un-mutex-ed BusDevice in Bus 2020-11-23 22:47:29 +00:00
bat.rs devices: Use PowerMonitor trait objects as a data source for GoldfishBattery. 2020-12-02 17:58:37 +00:00
bus.rs devices: add un-mutex-ed BusDevice in Bus 2020-11-23 22:47:29 +00:00
cmos.rs devices: add un-mutex-ed BusDevice in Bus 2020-11-23 22:47:29 +00:00
i8042.rs devices: add un-mutex-ed BusDevice in Bus 2020-11-23 22:47:29 +00:00
lib.rs devices: add un-mutex-ed BusDevice in Bus 2020-11-23 22:47:29 +00:00
pit.rs devices: add un-mutex-ed BusDevice in Bus 2020-11-23 22:47:29 +00:00
pl030.rs devices: add un-mutex-ed BusDevice in Bus 2020-11-23 22:47:29 +00:00
proxy.rs Disable proxy device tests as they fail when run multi-threaded 2020-11-23 23:21:09 +00:00
serial.rs devices: add un-mutex-ed BusDevice in Bus 2020-11-23 22:47:29 +00:00
serial_device.rs
vfio.rs