hwc: fix and simplify the idle timeout logic

Fixes the following issue : when non-blended layers are composited
via overlays and blended layers are composited via FB, the idle timeout
does not yield invalidation and re-composition of the layers via SGX
resulting in the increased power consumption when the UI is idle.

The change simplifies the idle timeout logic as follows : SGX only
composition is forced after the idle timeout.

Rebased from p-ics-mr1:
4573812 hwc: fix and simplify the idle timeout logic

Change-Id: I37216892536a6900b5fb58c0e6ac616ef3f3ef72
Signed-off-by: Dima Svetlov <svetlov@ti.com>
(cherry picked from commit d62680abaf25e807070c2ba236cdc2d0cc935408)
1 file changed