I ma facing a similar issue while porting the JB4.2.2_1.0.0 on my i.MX6 board. The screen becomes green while Android animation is running and afterwards some shades...
request you to pl. elaborate and let me know how did you solve your problem ? where exactly we have to change the pmem permission..
It was just a chmod entry in init.rc initially. I don't know offhand any more if there was a better solution, but this was the initial change that made it work.
Folks, do NOT USE the proprietary kgsl drivers in production - don't even apply the patches.
It's DANGEROUS - it's allows userland to directly write into kernel memory !
That's an design issue - cannot be fixed, without a complete rewrite.
For both the i.MX51 and i.MX53, it is now possible to run with a stock mainline kernel and have full HW acceleration of 3D graphics as well as HW video decode. The HW acceleration of 3D graphics are provided by Freedreno in Mesa. The video decode is provided by a kernel v4l2 driver that stock gstreamer works with.
The mainline kernel driver for the 3D GPU in the i.MX51 and i.MX53 has full support for the 3D GPU's MMU and should have improved security isolation over older kernel drivers for the 3D GPU in the i.MX51 and i.MX53.