On Tue, Jan 7, 2014 at 1:37 PM, Thomas Hellstrom thellstrom@vmware.com wrote:
Conclusion: Avoid using dma-buf mmap() outside of drivers that know exactly what they are doing, and avoid it at all cost.
well, to be fair, if you are using a gpu on the client side and pixman backend on the server side, you probably deserve the results.
Not to say that we shouldn't come up with a better way for sw access to dmabuf, but just saying there are folks out there who would find Benjamin's patch useful in it's current state (for example, platforms where you have open src bits for video decoder but not for gpu).
So I wouldn't block this patch strictly because we don't have a better mmap story yet.
BR, -R