AnsweredAssumed Answered

VPU memory reservation and debugging with Device Trees

Question asked by Erlend Eriksen on Feb 10, 2020
Latest reply on Feb 14, 2020 by Joan Xie

Are there any examples on how to configure how much memory is available / reserved for VPU and GPU, and what address range they use, using device tree files? I know that you can use the CONFIG_CMA_SIZE_MBYTES option in the kernel configuration, but as I understand it, the device tree would give finer control over contiguous memory allocation.


The root of the problem is that I want to be able to debug the memory allocation better. I know that I can do real time 30 FPS FHD transcoding on my i.MX6, but memory hungry processes make the VPU lag behind. I want not only to reserve memory for the VPU, but also to debug whether it actually gets access to all the memory I reserve, or if it gets used by other processes on the arm cores.