Re: [PATCH v6] Add udmabuf misc device

2018-08-31 Thread Gerd Hoffmann
Hi, > > qemu can use memfd to allocate guest ram. Now, with the help of > > udmabuf, qemu can create a *host* dma-buf for the *guest* graphics > > buffer. > > Guess each physical address in the iovec in > VIRTIO_GPU_CMD_RESOURCE_ATTACH_BACKING can be passed as the offset in the > udmabuf_creat

Re: [PATCH v6] Add udmabuf misc device

2018-08-30 Thread Tomeu Vizoso
On 07/04/2018 10:00 AM, Gerd Hoffmann wrote: On Wed, Jul 04, 2018 at 09:26:39AM +0200, Tomeu Vizoso wrote: On 07/04/2018 07:53 AM, Gerd Hoffmann wrote: On Tue, Jul 03, 2018 at 10:37:57AM +0200, Daniel Vetter wrote: On Tue, Jul 03, 2018 at 09:53:58AM +0200, Gerd Hoffmann wrote: A driver to let

Re: [PATCH v6] Add udmabuf misc device

2018-08-27 Thread Gerd Hoffmann
Hi, > > Covering udmabuf.c maintainance is a different issue. I could just add > > myself to the existing entry, or create a new one specifically for > > udmabuf. > > That's what I meant, do a more specific entry to add yourself just for > udmabuf. Ok. Back from summer vacation, finally foun

Re: [PATCH v6] Add udmabuf misc device

2018-07-05 Thread Dave Airlie
On 4 July 2018 at 18:00, Gerd Hoffmann wrote: > On Wed, Jul 04, 2018 at 09:26:39AM +0200, Tomeu Vizoso wrote: >> On 07/04/2018 07:53 AM, Gerd Hoffmann wrote: >> > On Tue, Jul 03, 2018 at 10:37:57AM +0200, Daniel Vetter wrote: >> > > On Tue, Jul 03, 2018 at 09:53:58AM +0200, Gerd Hoffmann wrote: >>

Re: [PATCH v6] Add udmabuf misc device

2018-07-04 Thread Daniel Vetter
On Wed, Jul 04, 2018 at 10:58:25AM +0200, Gerd Hoffmann wrote: > Hi, > > > > Hmm, does MAINTAINERS need an update then? Maintainer and mailing lists > > > listed in the "DMA BUFFER SHARING FRAMEWORK" entry are on Cc. > > > > Yeah, maintainers entry with you as maintainer plus dri-devel as mail

Re: [PATCH v6] Add udmabuf misc device

2018-07-04 Thread Gerd Hoffmann
Hi, > > Hmm, does MAINTAINERS need an update then? Maintainer and mailing lists > > listed in the "DMA BUFFER SHARING FRAMEWORK" entry are on Cc. > > Yeah, maintainers entry with you as maintainer plus dri-devel as mailing > list plus drm-misc as repo would be good. Just grep for drm-misc.git

Re: [PATCH v6] Add udmabuf misc device

2018-07-04 Thread Daniel Vetter
On Wed, Jul 04, 2018 at 07:53:38AM +0200, Gerd Hoffmann wrote: > On Tue, Jul 03, 2018 at 10:37:57AM +0200, Daniel Vetter wrote: > > On Tue, Jul 03, 2018 at 09:53:58AM +0200, Gerd Hoffmann wrote: > > > A driver to let userspace turn memfd regions into dma-bufs. > > > > > > Use case: Allows qemu cr

Re: [PATCH v6] Add udmabuf misc device

2018-07-04 Thread Gerd Hoffmann
On Wed, Jul 04, 2018 at 09:26:39AM +0200, Tomeu Vizoso wrote: > On 07/04/2018 07:53 AM, Gerd Hoffmann wrote: > > On Tue, Jul 03, 2018 at 10:37:57AM +0200, Daniel Vetter wrote: > > > On Tue, Jul 03, 2018 at 09:53:58AM +0200, Gerd Hoffmann wrote: > > > > A driver to let userspace turn memfd regions i

Re: [PATCH v6] Add udmabuf misc device

2018-07-04 Thread Tomeu Vizoso
On 07/04/2018 07:53 AM, Gerd Hoffmann wrote: On Tue, Jul 03, 2018 at 10:37:57AM +0200, Daniel Vetter wrote: On Tue, Jul 03, 2018 at 09:53:58AM +0200, Gerd Hoffmann wrote: A driver to let userspace turn memfd regions into dma-bufs. Use case: Allows qemu create dmabufs for the vga framebuffer o

Re: [PATCH v6] Add udmabuf misc device

2018-07-03 Thread Gerd Hoffmann
On Tue, Jul 03, 2018 at 10:37:57AM +0200, Daniel Vetter wrote: > On Tue, Jul 03, 2018 at 09:53:58AM +0200, Gerd Hoffmann wrote: > > A driver to let userspace turn memfd regions into dma-bufs. > > > > Use case: Allows qemu create dmabufs for the vga framebuffer or > > virtio-gpu ressources. Then

Re: [PATCH v6] Add udmabuf misc device

2018-07-03 Thread Daniel Vetter
On Tue, Jul 03, 2018 at 09:53:58AM +0200, Gerd Hoffmann wrote: > A driver to let userspace turn memfd regions into dma-bufs. > > Use case: Allows qemu create dmabufs for the vga framebuffer or > virtio-gpu ressources. Then they can be passed around to display > those guest things on the host. T

[PATCH v6] Add udmabuf misc device

2018-07-03 Thread Gerd Hoffmann
A driver to let userspace turn memfd regions into dma-bufs. Use case: Allows qemu create dmabufs for the vga framebuffer or virtio-gpu ressources. Then they can be passed around to display those guest things on the host. To spice client for classic full framebuffer display, and hopefully some d