Skip to content

vrend: check queries on main thread with async_cb enabled

Ryan Neph requested to merge ryanneph/virglrenderer:fix-async-cb into master

Queries must still be checked on the main thread since GL API interactions are not thread-safe in vrend.

With VREND_USE_ASYNC_FENCE_CB enabled, only queries are checked by virgl_renderer_poll(). When disabled, fences and queries are managed during the poll, as usual.

Fixes: !534 (merged) ("virgl: Add flag to retire fences directly from sync thread")

Signed-off-by: Ryan Neph

/cc @lfrb @olv @zzyiwei

This accompanies the latest version of the crosvm change:

Edited by Ryan Neph

Merge request reports