[RFCv2 PATCH 0/5] virtual GEM provider

Ben Widawsky ben at bwidawsk.net
Wed Feb 8 15:19:26 PST 2012


Incorporated some of the feedback given to Adam's original patch.  

My intention is to use this to do some dmabuf work/testing with i915
since it seemed too difficult to get some of Dave Airlie's stuff
working, and I really don't feel like learning anything about nouveau if
I can avoid it.  (though I plan to do that later as well).

I think what's missing is a shrinker, left in size for mmap (didn't see
anyone respond to Daniel Vetter's comment), munmap/remap probably won't
work, do quite a bit more testing; that's all I can think of at the
moment.

The most basic of tests for this are here:
git://people.freedesktop.org/~bwidawsk/vgem-gpu-tools master

I've also pushed this repo here:
git://people.freedesktop.org/~bwidawsk/drm-intel vgem

Adam Jackson (1):
  drm/vgem: virtual GEM provider

Ben Widawsky (4):
  drm/vgem: fops should be separate and constified
  drm/vgem: Add a drm_vgem_gem_object
  drm/vgem: getparam ioctl
  drm/vgem: properly implement mmap

 drivers/gpu/drm/Kconfig         |    8 +
 drivers/gpu/drm/Makefile        |    1 +
 drivers/gpu/drm/vgem/Makefile   |    4 +
 drivers/gpu/drm/vgem/vgem_drv.c |  377 +++++++++++++++++++++++++++++++++++++++
 include/drm/vgem_drm.h          |   62 +++++++
 5 files changed, 452 insertions(+), 0 deletions(-)
 create mode 100644 drivers/gpu/drm/vgem/Makefile
 create mode 100644 drivers/gpu/drm/vgem/vgem_drv.c
 create mode 100644 include/drm/vgem_drm.h

-- 
1.7.9



More information about the dri-devel mailing list