Re: [PATCH v5 4/8] virtio-gpu: Support asynchronous fencing

2025-01-22 Thread Dmitry Osipenko
On 1/20/25 16:56, Alex Bennée wrote: ... >> @@ -972,15 +973,29 @@ void virtio_gpu_virgl_process_cmd(VirtIOGPU *g, >> >> trace_virtio_gpu_fence_ctrl(cmd->cmd_hdr.fence_id, cmd->cmd_hdr.type); >> >> -/* >> - * Unlike other virglrenderer functions, this one returns a positive >> -

[PATCH v5 4/8] virtio-gpu: Support asynchronous fencing

2025-01-19 Thread Dmitry Osipenko
Support asynchronous fencing feature of virglrenderer. It allows Qemu to handle fence as soon as it's signalled instead of periodically polling the fence status. This feature is required for enabling DRM context support in Qemu because legacy fencing mode isn't supported for DRM contexts in virglre