mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-12 12:30:17 +01:00
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 <[email protected]> (v3) Reviewed-by: Stéphane Marchesin <[email protected]> (v3) Signed-off-by: Adam Jackson <[email protected]> Signed-off-by: Ben Widawsky <[email protected]> Signed-off-by: Zach Reizner <[email protected]> Signed-off-by: Dave Airlie <[email protected]>