Hi ,
I am working with DRA7xx-EVM. I need to do some image processing using both VPE and GPU.
When I try to pass the de-queued output buffer from VPE to GPUusing eglCreateImageKHR ,I am getting the following error:
PVR:(Error): PVRSRVWrapExtMemory: Error 1 returned [1629, /bridged_pvr_glue.c].
I have tried allocating output buffers for VPE with memory type set to both V4L2_MEMORY_DMABUF and V4L2_MEMORY_MMAP. In.In both case I was getting same the error.
I was able to pass the buffers directly to GPU when I was using glTexImage2D as the load function for GPU. But it was a very time consuming call. So I had to replace it with eglCreateImageKHR call.
For debugging further I have created an omap buffer object in my local space and tried to memcpy the de-queued output buffer from VPE into that and pass it to eglCreateImageKHR call. Surprisingly the load function was successful. The output buffers for VPE were also omap bo's set using V4L2_MEMORY_DMABUF
Can anybody explain me the difference between these 2 omap bo's ?
And why I am not able to load the buffer from VPE to GPU directly?
Any help would be greatly appreciated.
Sincerely,
Thushara Jayakumar.