Hi,
I am working on TI8168 with EZSDK 5.05, i have built an EDMA driver based on the edma example on
<ezsdk>/example-applications/linux-driver-examples-psp04.04.00.01/edma/
When i am using the EDMA driver for data transfers with in an OMX chain that contains capture->dei->display the edma transfers data OK.
When i am adding to the OMX chain a VLPB on DSP as follows: capture->VLPB->dei->display, data transfers become corrupted. I suspect that there is some kind of memory contention between the VLPB and the EDMA, has anyone faced a similar problem? what may cause such a problem?
Another thing is that when in first OMX chain that doesn't contain VLPB i am using allocation of memory in shared region 2 using
heap = SharedRegion_getHeap(IL_CLIENT_SR);
Image = Memory_alloc(heap, ((3*HD_WIDTH*HD_HEIGHT)>>1), 128, NULL);
memory is allocated.
When i am using the same code for allocation of memory in second OMX chain that contain VLPB i get segmentation fault for this allocation which also makes me believe that the VLPB is causing memory contention.
Gabi