diff options
author | Gustavo Diaz Prado <x0083741@ti.com> | 2011-08-25 03:00:08 -0400 |
---|---|---|
committer | Paolo Pisati <paolo.pisati@canonical.com> | 2012-08-17 04:18:37 -0400 |
commit | 2d8710c0d6d3e8a537676decab8cb51d1343f2f8 (patch) | |
tree | bae4dc29df3d038255cb74c480addcc6bc4a03b8 /drivers/gpu/pvr/proc.h | |
parent | 337c1d8958de696658a4acb8c992afe87bbeac58 (diff) |
SGX: UDD: Changing the early suspend registration level
This patch fixes a problem when a native application is running
on the secondary display at the same time the Android UI is being
shown in the primary display and the suspend mechanism happens.
By registering to EARLY_SUSPEND_LEVEL_STOP_DRAWING level the
UDD will receive the suspend signal before the DSS goes to suspend,
this prevents UDD to interact with the DSS when it is already
suspended. The resume mechanism will work in the inverse way,
the DSS will be notified first that it needs to resume, then
the UDD will be allowed to push frames again to the DSS.
This ensures the UDD receives the suspend/resume signal at the
correct time.
Signed-off-by: Gustavo Diaz Prado <x0083741@ti.com>
Change-Id: Ie634e17f6300c3ff2ea9973c36563c6565483322
Diffstat (limited to 'drivers/gpu/pvr/proc.h')
0 files changed, 0 insertions, 0 deletions