On Tue, May 10, 2011 at 12:55 PM, Thomas Hellstrom thellstrom@vmware.com wrote:
b) DRM, TTM and it seems CMA all need a range allocator. There is a reasonable implementation in drm_mm.c, which since the original implementation has seen a fair bit of improvement. Should we try to move that to linux/lib ?
V4L2 and ALSA and what else also need contigous memory buffers, so I think the world would be a better place if the entire business of contigous allocation, buffer pinning and passing could be made abstract from the stuff that is using it, CMA, TTM and GEM alike.
Just my €0.01.. Linus Walleij