All,
We have a problem with memory leak on the AM33X platform and Windows CE7 (Windows Embedded Compact 7) that is related to screen refreshing. The leak is in the kernel (NK.exe).
This is happening on our custom board and the issue doesn't happen on the EVM board (AM335x 15x15 Base Board + GP Daughterboard + LCD A Board). We have a different LCD with different resolution (480 x 272) and settings. Also, our memory layout is different (we have 128 MB of RAM).
I've debugged the memory allocation code (C:\WINCE700\platform\common\src\soc\COMMON_TI_V1\COMMON_TI\DSS\DDGPE\omap_ddsurf.cpp, function AllocSurface - the first one) and it turned out that we don't use the video memory, just the system memory. My impression was that this code is not intended to run with the system memory and the system memory is never freed. It's just used to display something in case of the video memory problems.
Anyway, I've fixed the issue with te video memory, so we allocate the video memory in that function, but we still have a leak there.
The leak is proportional to painting on the screen. If the screen has to be refreshed - it constantly leaks. If we don't change the screen - there is no leak.
Please let me know if you have any ideas on that.
Thank you!
Zack