Re: [virtio-dev] [RFC RESEND] virtio-video: Add virtio video device specification

2019-11-07 Thread Tomasz Figa
On Fri, Nov 8, 2019 at 4:50 PM Gerd Hoffmann wrote: > > On Thu, Nov 07, 2019 at 02:09:34PM +0100, Dmitry Sepp wrote: > > Hello Gerd, > > > > Thank you for your feedback. > > > > There is no relationship between those. As I mentioned earlier. we have also > > been working on a virtio video device

Re: [virtio-dev] [RFC RESEND] virtio-video: Add virtio video device specification

2019-11-07 Thread Tomasz Figa
On Thu, Nov 7, 2019 at 10:09 PM Dmitry Sepp wrote: > > Hello Gerd, > > Thank you for your feedback. > > There is no relationship between those. As I mentioned earlier. we have also > been working on a virtio video device at the same time. And there is no > relationship between the two specs. > >

Re: [virtio-dev] [RFC RESEND] virtio-video: Add virtio video device specification

2019-11-07 Thread Gerd Hoffmann
On Thu, Nov 07, 2019 at 02:09:34PM +0100, Dmitry Sepp wrote: > Hello Gerd, > > Thank you for your feedback. > > There is no relationship between those. As I mentioned earlier. we have also > been working on a virtio video device at the same time. And there is no > relationship between the two

[virtio-dev] Re: guest / host buffer sharing ...

2019-11-07 Thread Gerd Hoffmann
Hi, > > Adding a list of common properties to the spec certainly makes sense, > > so everybody uses the same names. Adding struct-ed properties for > > common use cases might be useful too. > > Why not define VIRTIO devices for wayland and friends? There is an out-of-tree implementation of

Re: [virtio-dev] Re: guest / host buffer sharing ...

2019-11-07 Thread Gerd Hoffmann
On Thu, Nov 07, 2019 at 11:16:18AM +, Dr. David Alan Gilbert wrote: > * Gerd Hoffmann (kra...@redhat.com) wrote: > > Hi, > > > > > > This is not about host memory, buffers are in guest ram, everything else > > > > would make sharing those buffers between drivers inside the guest (as > > > >

[virtio-dev] Re: guest / host buffer sharing ...

2019-11-07 Thread Frank Yang
So I'm not really sure why people are having issues sharing buffers that live on the GPU. Doesn't that show up as some integer ID on the host, and some $GuestFramework (dmabuf, gralloc) ID on the guest, and it all works out due to maintaining the correspondence in your particular stack of virtual

Re: [virtio-dev] [RFC RESEND] virtio-video: Add virtio video device specification

2019-11-07 Thread Dmitry Sepp
Hello Gerd, Thank you for your feedback. There is no relationship between those. As I mentioned earlier. we have also been working on a virtio video device at the same time. And there is no relationship between the two specs. I can point you to the differences I see: virtio-vdec: 1. Both the

Re: [virtio-dev] Re: guest / host buffer sharing ...

2019-11-07 Thread Dr. David Alan Gilbert
* Gerd Hoffmann (kra...@redhat.com) wrote: > Hi, > > > > This is not about host memory, buffers are in guest ram, everything else > > > would make sharing those buffers between drivers inside the guest (as > > > dma-buf) quite difficult. > > > > Given it's just guest memory, can the guest just

Re: [virtio-dev] Re: guest / host buffer sharing ...

2019-11-07 Thread Gerd Hoffmann
Hi, > > This is not about host memory, buffers are in guest ram, everything else > > would make sharing those buffers between drivers inside the guest (as > > dma-buf) quite difficult. > > Given it's just guest memory, can the guest just have a virt queue on > which it places pointers to the

Re: [virtio-dev] [RFC RESEND] virtio-video: Add virtio video device specification

2019-11-07 Thread Gerd Hoffmann
On Tue, Nov 05, 2019 at 08:19:19PM +0100, Dmitry Sepp wrote: > [Resend after fixing an issue with the virtio-dev mailing list] > > This patch proposes a virtio specification for a new virtio video > device. Hmm, quickly looking over this, it looks simliar to the vdec draft posted a few weeks

Re: [virtio-dev] [PATCH] [RFC RESEND] vdec: Add virtio video decode device specification

2019-11-07 Thread Keiichi Watanabe
Hi everyone, Thanks for all the comments. As Gerd created a separate thread for buffer sharing (https://markmail.org/message/jeh5xjjxvylyrbur), I wonder if we can start a discussion on the protocol details in this thread now. I think the details of buffer sharing shouldn't affect overall design