ajax: The consumer of this will be software renderers. We're working on one right now that will be using dma-bufs from userspace. Daniel: Thanks for your suggestions. I'll work on it and submit a v2. On Fri Nov 21 2014 at 6:02:45 AM Adam Jackson ajax@redhat.com wrote:
On Thu, 2014-11-20 at 16:26 -0800, Zach Reizner wrote:
This patch implements the virtual GEM driver with PRIME sharing which allows vgem to import a gem object from other drivers for the purpose of mmap-ing them to userspace.
The reason I initially wanted this was to get zero-copy llvmpipe, since (besides making GLX conformance impossible) the image transfer parts of drisw are easily the biggest part of the runtime overhead. Is there a userspace consumer of this anywhere?
- ajax