Hi,
I am working with a custom OMAP4460 platform on which we require more TILER memory for media playback. I have some questions on how to increase the TILER memory available for media playback.
As of now, on the custom platform using an LCD of resolution 1280 x 800 in landscape mode, the usage of TILER memory is as follows:
Reserved (A) : 32 MB - 2 buffers of 16 MB each, reserved by drivers/video/omap2/dsscomp/gralloc.c
SGX Swap chain (B) : 24 MB - FB0: (1280 * 800 * 4 [bpp]) + 2MB [stride]) * 3 ), FB1: 1280 * 800 * 4 +2MB [stride]
Total used (A + B) : 56 MB
Free Tiler Memory : 128 M - Total Used (56 MB) = 72 MB
The above TILER memory usage is also confirmed by reading the SYSFS entry /d/tiler/map/4x4
My question is regarding the possibilities in increasing the TILER free memory.
Our testing shows that 24MB for the SGX Swap chain is the optimal value. I have also attempted to reduce the reserved memory (32 MB) by modifying TILER1D_SLOT_SIZE in drivers/video/omap2/dsscomp/gralloc.c. This has been reduced to 2 buffers of 8MB each. Though Android boots up fine, there are errors while attempting to obtain TILER memory.
Is there any way in which this reserved area can be reduced or removed to increase the available TILER memory?
The custom OMAP4460 platform is running on Android ICS based on TI's L27.IS.2.P2 release. Release notes are available at http://www.omappedia.com/wiki/L27.IS.2.P2_OMAP4_Icecream_Sandwich_Release_Notes
Thanks and regards,
Kanagesh