virtio_gpu_cmd_resource_flush

Josh Simonot jsimonot at live.ca
Wed Jul 3 14:01:17 UTC 2024


It looks like the virtio-gpu flush should be fenced, but on the host side the received flush cmd doesn't have the fence flag set, and no fence_id.  So, I have to reply right away instead of waiting for scanout to complete.  Is that expected?  then what's the right way to vsync the guest?

At the moment, I'm queueing up the resources for scanout, but guest is flushing faster than host vsync.  I briefly looked at qemu implementation, but don't understand it yet.  A high level breakdown of what should be happening would be extremely helpful!

Thanks,
Josh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20240703/7594e3cd/attachment.htm>


More information about the dri-devel mailing list