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@xxxxxxxxxx> - ajax _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel