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

2019-12-17 Thread Gerd Hoffmann
On Tue, Dec 17, 2019 at 05:13:59PM +0100, Dmitry Sepp wrote: > Hi, > > On Dienstag, 17. Dezember 2019 15:09:16 CET Keiichi Watanabe wrote: > > Hi, > > > > Thanks Tomasz and Gerd for the suggestions and information. > > > > On Tue, Dec 17, 2019 at 10:39 PM Gerd Hoffmann wrote: > > > Hi, > > >

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

2019-12-17 Thread Dmitry Sepp
Hi, On Dienstag, 17. Dezember 2019 15:09:16 CET Keiichi Watanabe wrote: > Hi, > > Thanks Tomasz and Gerd for the suggestions and information. > > On Tue, Dec 17, 2019 at 10:39 PM Gerd Hoffmann wrote: > > Hi, > > > > > On the host side, the encode and decode APIs are different as well, so

[virtio-dev] Re: [PATCH v3] virtio-snd: add virtio sound device specification

2019-12-17 Thread Gerd Hoffmann
Hi, > +\subsection{Feature bits}\label{sec:Device Types / Sound Device / Feature > bits} > + > +None currently defined. Flags for hostmem & guestmem here? This could be an information the driver might want to know before initializing the virtqueues. > +\item START > +\item PAUSE > +\item

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

2019-12-17 Thread Keiichi Watanabe
Hi, Thanks Tomasz and Gerd for the suggestions and information. On Tue, Dec 17, 2019 at 10:39 PM Gerd Hoffmann wrote: > > Hi, > > > On the host side, the encode and decode APIs are different as well, so > > having separate implementation decoder and encoder, possibly just > > sharing some

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

2019-12-17 Thread Gerd Hoffmann
Hi, > On the host side, the encode and decode APIs are different as well, so > having separate implementation decoder and encoder, possibly just > sharing some helper code, would make much more sense. When going down that route I'd suggest to use two device ids (even when specifying both

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

2019-12-17 Thread Tomasz Figa
On Mon, Dec 16, 2019 at 7:32 PM Gerd Hoffmann wrote: > > Hi, > > > > Hmm, modern GPUs support both encoding and decoding ... > > > > Many SoC architectures have completely separate IP blocks for encoding > > and decoding. Similarly, in GPUs those are usually completely separate > > parts of the

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

2019-12-17 Thread David Stevens
> > > Of course only virtio drivers would try step (2), other drivers (when > > > sharing buffers between intel gvt device and virtio-gpu for example) > > > would go straight to (3). > > > > For virtio-gpu as it is today, it's not clear to me that they're > > equivalent. As I read it, the