From: Zach Reizner Date: Thu, 5 Mar 2015 00:33:41 +0000 (-0800) Subject: drm/vgem: implement virtual GEM X-Git-Tag: omap-for-v4.1/fixes-rc1~82^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=502e95c6678505474f1056480310cd9382bacbac;p=pandora-kernel.git drm/vgem: implement virtual GEM 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 v3: use drm helpers for get/put pages v4: correct dumb create pitch Reviewed-by: Rob Clark (v3) Reviewed-by: Stéphane Marchesin (v3) Signed-off-by: Adam Jackson Signed-off-by: Ben Widawsky Signed-off-by: Zach Reizner Signed-off-by: Dave Airlie --- Reading git-diff-tree failed