Problem description:
By using Adreno ICS drivers, we (XDA community) are facing a serious issue with KGSL power management with Xperia X10 (QSD8250).
With inactivity, KGSL is being correctly suspended and also phone is reaching deep sleep. However, when it wakes from deep sleep, KGSL just can't return to original state and screen won't turn on.
In order to have a functional ROM, developers decided to prevent/block KGSL sleep; in consequence phone doesn't reach deep sleep and there's a huge battery drainage.
Tech description:
https://github.com/freexperia/semc-kernel-qsd8k-ics/commit/cceb67b31461b...
In kgsl_suspend_device function we had to prevent "device->requested_state = KGSL_STATE_SUSPEND" execution.
Are we missing something with this file?
https://github.com/freexperia/semc-kernel-qsd8k-ics/blob/cceb67b31461b58...