Dear Team,
from our customer:
We faced a problem while using several Gstreamer video pipelines. Some of running applications were ended and we got this error:
[ 1111.109174] omapdrm omapdrm.0: could not remap: -12 (3)
We've referred to PSDKLA-3753 on this site: http://processors.wiki.ti.com/index.php/Processor_SDK_Linux_Automotive_Post_Release_Fixes
This explains observed behaviour, because buffers are allocated in TILER and this has maximum of 128MB available.
Indeed, we were able to check TILLER memory usage by cat /sys/kernel/debug/dri/0/tiler_map and everything was OK until we exceed the limit.
After exceeding the limit we got the error mentioned above. However, we do not use PSDKLA because it is suggested for different platform (DRA7xx) as far as I know. We use PROCESSOR-SDK-LINUX-AM57X which is intended to be used with AM57X. We checked last release 04_01_00_06 and it seems that it does not cover the same functionality as PSDKLA-3753. It updates omapdrm (kernel space), libdrm-omap (user-space), but not SGX part similar to this commit within PSDKLA: http://arago-project.org/git/projects/?p=meta-glsdk.git;a=commit;h=c2c93adce12d24f124ff9b8c979115227d555dce
Therefore, all SGX buffers are still allocated in TILER (including Weston).
- Do you plan to update also SGX part?
- I've read that it is necessary to allocate memory in TILER for encoder/decoder part, but is it possible to allocate buffers for VPE in CMA region?
Thank you for your support.