This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5726: CMEM memory allocation for DSP usage

Part Number: AM5726

Hi,

We want to run some operations on DSP in AM57XX evm using OPENCL.

During opencl initialization it allocates whole partition of cmem for itself.

root@am57xx-evm:~# cat /proc/cmem Block 0: Pool 0: 1 bufs size 0xc000000 (0xc000000 requested)Pool 0 busy bufs:id 0: phys addr 0xa0000000 (cached)

Along with OPENCL,  we need to allocate some memory in cmem that DSP can access and fill data in it. 

But when we try to allocate memory in cmem it says:" can not allocate memory in this pool "because whole cmem partition is allocated for only opencl.

So is there any way so that we can get some cmem memory other than OpenCL?

Do we need extra pool or we can restrict Opencl to use whole cmem pool?

Please guide us and suggest solution in this issue.

Thanks,

Pankil.