[RFCv2 PATCH 0/5] virtual GEM provider

Adam Jackson ajax at redhat.com
Mon Feb 13 16:14:58 PST 2012


On 2/8/12 6:19 PM, Ben Widawsky wrote:
> 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.

munmap appears to work.  However if you do it after the close() you 
segfault at at exit.  That's probably suboptimal.

 From an API perspective this is certainly enough for llvmpipe, and I 
can work around munmap being quirky for now.

Reviewed-by: Adam Jackson <ajax at redhat.com>

- ajax


More information about the dri-devel mailing list