forked from Minki/linux
502e95c667
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 <robdclark@gmail.com> (v3) Reviewed-by: Stéphane Marchesin <marcheu@chromium.org> (v3) Signed-off-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Zach Reizner <zachr@google.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
5 lines
97 B
Makefile
5 lines
97 B
Makefile
ccflags-y := -Iinclude/drm
|
|
vgem-y := vgem_drv.o vgem_dma_buf.o
|
|
|
|
obj-$(CONFIG_DRM_VGEM) += vgem.o
|