Ryan Talbot wrote:

CMEM Error: getPhys: Failed to get physical address of 0x4015c000 CMEM
Error: getPhys: Failed to get physical address of 0x40226fff

Those addresses correspond to the virtual addresses of the first capture
buffer, and the second capture buffer -1, respectively. Those were
allocated via kzalloc(), which should yield physically contiguous
memory, so we don't know what the problem would be.
It was suggested by our codec vendor that the issue might be the CMEM
pool configuration. We find this confusing since the capture buffers
come from Linux memory, not the CMEM pools. CMEM merely does the
virt->phys address translation to hand to the DSP in that case, right?
Additionally, when recording from file and CMEM actually is in charge of
allocating the input buffers, things work fine.

> It would seem, then,
that CMEM is having trouble translating an address for memory that it
didn't allocate.

Yes, as seen by the above error. why don't you allocate the mem from CMEM?

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

Reply via email to