Re: RFC: drm/virtio: Dummy virtio GPU

2020-04-15 Thread lepton
On Fri, Mar 27, 2020 at 1:20 AM Gerd Hoffmann wrote: > > > > Hmm, yes, I can see loopback virtio being useful for various cases. > > > Testing being one. A dummy virtio-gpu could be done too, or a more > > > advanced version which exports the display as vnc. > > So what's your suggestion on this?

Re: RFC: drm/virtio: Dummy virtio GPU

2020-02-26 Thread lepton
On Tue, Feb 25, 2020 at 2:29 AM Gerd Hoffmann wrote: > > On Mon, Feb 24, 2020 at 03:01:54PM -0800, Lepton Wu wrote: > > Hi, > > > > I'd like to get comments on this before I polish it. This is a > > simple way to get something similar with vkms but it heavily reuse > > the code provided by virtio-

Re: RFC: drm/virtio: Dummy virtio GPU

2020-02-25 Thread Gerd Hoffmann
> > No. > > > > First, what is wrong with vkms? > The total lines of vkms driver is 1.2k+. Which is small for a drm driver. > I think it doesn't work along > itself to provide things like mmap on prime fd? (I tried it months > ago). Seems vkms only supports prime import, not prime export. Maybe

Re: RFC: drm/virtio: Dummy virtio GPU

2020-02-25 Thread Gerd Hoffmann
On Mon, Feb 24, 2020 at 03:01:54PM -0800, Lepton Wu wrote: > Hi, > > I'd like to get comments on this before I polish it. This is a > simple way to get something similar with vkms but it heavily reuse > the code provided by virtio-gpu. Please feel free to give me any > feedbacks or comments. No.