Erez Kinarti wrote:
Thanks a lot Rob.

calling this function for each of the pointers used with CodecEngine
solved the problem.

However, we need something else, some function that invalidates all this
virt->phy table and not each of the virtual pointers separately.

Is there a way to do a full invalidate in a single call without keep
tracking on each of the virtual pointers?

The reason that Memory_unregisterContigBuf it is not enough for us:

In our system, we allocate a very big buffer from CMEM (258048 bytes),
but we don’t call CodecEngine with a pointer to the big buffer.

You dont need to call Memory_unregisterContigBuf, just alloc and
free the buffers via CE and CE will know that you are calling it with a
smaller buffer inside a larger one that it knows the translation to...

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to