Re: [PATCH v2] virtio-gpu: support context init multiple timeline

2025-05-20 Thread Yiwei Zhang
On Tue, May 20, 2025 at 9:31 AM Dmitry Osipenko wrote: > > On 5/20/25 11:26, Yiwei Zhang wrote: > > On Mon, May 19, 2025 at 7:29 PM Dmitry Osipenko > > wrote: > >> > >> On 5/18/25 18:26, Yiwei Zhang wrote: > >>> +#if VIRGL_VERSION_MAJOR >=

Re: [PATCH v2] virtio-gpu: support context init multiple timeline

2025-05-20 Thread Yiwei Zhang
On Mon, May 19, 2025 at 7:29 PM Dmitry Osipenko wrote: > > On 5/18/25 18:26, Yiwei Zhang wrote: > > +#if VIRGL_VERSION_MAJOR >= 1 > > +static void virgl_write_context_fence(void *opaque, uint32_t ctx_id, > > + uint32_t ring_

Re: [PATCH v2] virtio-gpu: support context init multiple timeline

2025-05-19 Thread Yiwei Zhang
On Mon, May 19, 2025 at 6:12 AM Dmitry Osipenko wrote: > > On 5/18/25 18:26, Yiwei Zhang wrote: > > Venus and later native contexts have their own fence context along with > > multiple timelines within. Fences wtih VIRTIO_GPU_FLAG_INFO_RING_IDX in > > the flags must be dis

[PATCH v2] virtio-gpu: support context init multiple timeline

2025-05-18 Thread Yiwei Zhang
host side perfetto tracing. Changes since v1: - Minor commit msg updates based on feedbacks from BALATON Cc: qemu-sta...@nongnu.org Fixes: 94d0ea1c1928 ("virtio-gpu: Support Venus context") Signed-off-by: Yiwei Zhang --- hw/display/virtio-gpu-virgl.c | 44 +++

[PATCH] virtio-gpu: support context init multiple timeline

2025-05-18 Thread Yiwei Zhang
e perfetto tracing. Cc: qemu-sta...@nongnu.org Fixes: 94d0ea1c1928 ("virtio-gpu: Support Venus context") Signed-off-by: Yiwei Zhang --- hw/display/virtio-gpu-virgl.c | 44 +++ 1 file changed, 44 insertions(+) diff --git a/hw/display/virtio-gpu-virgl.c b/h