[PATCH v2] drm/vgem: implement virtual GEM

2015-01-31 Thread Ben Widawsky
On Sat, Jan 31, 2015 at 11:02:05AM -0500, Rob Clark wrote: > On Fri, Jan 30, 2015 at 1:05 PM, 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.

[PATCH v2] drm/vgem: implement virtual GEM

2015-01-31 Thread Ben Widawsky
On Fri, Jan 30, 2015 at 10:05:45AM -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 mmap is done using the mmap > operation exported by

[PATCH v2] drm/vgem: implement virtual GEM

2015-01-31 Thread Rob Clark
On Sat, Jan 31, 2015 at 1:13 PM, Ben Widawsky wrote: > On Sat, Jan 31, 2015 at 11:02:05AM -0500, Rob Clark wrote: >> On Fri, Jan 30, 2015 at 1:05 PM, Zach Reizner wrote: >> > This patch implements the virtual GEM driver with PRIME sharing which >> > allows vgem to import a gem object from other

[PATCH v2] drm/vgem: implement virtual GEM

2015-01-31 Thread Rob Clark
On Fri, Jan 30, 2015 at 1:05 PM, 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 mmap is done using the mmap > operation exported by other

[PATCH v2] drm/vgem: implement virtual GEM

2015-01-30 Thread Zach Reizner
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 mmap is done using the mmap operation exported by other drivers. v2: remove platform_device and do not attach to dma bufs