With https://bugs.launchpad.net/linaro-android/+bug/1006751 I used a quick way to fix this without patching the kernel by simply adding a usleep() call in the DisplayEventThread::threadLoop() call, so that the function is only called six times per second. Perhaps the thread should juste be interrupted when FB_EARLYSUSPEND is absent since it does nothing but loop.
It is a dirty fix, but it does the job without needing FB_EARLYSUSPEND.
With https:/ /bugs.launchpad .net/linaro- android/ +bug/1006751 I used a quick way to fix this without patching the kernel by simply adding a usleep() call in the DisplayEventThr ead::threadLoop () call, so that the function is only called six times per second. Perhaps the thread should juste be interrupted when FB_EARLYSUSPEND is absent since it does nothing but loop.
It is a dirty fix, but it does the job without needing FB_EARLYSUSPEND.