On Mon, 2011-02-28 at 09:50 +0100, Marek Szyprowski wrote:
Hello,
[...]
I'm not sure that highmem is the right solution. First, this will force systems with rather small amount of memory (like 256M) to use highmem just to support DMA allocable memory. It also doesn't solve the issue with specific memory requirement for our DMA hardware (multimedia codec needs video memory buffers from 2 physical banks).
Could you explain why a codec would require memory buffers from 2 physical banks ?
Thanks,
Edward
The relocation issue has been already addressed in the last CMA patch series. Michal managed to create a framework that allowed to relocate on demand any pages from the CMA area.
Best regards
Marek Szyprowski Samsung Poland R&D Center