OSDN Git Service

Handle DPMS mode setting immediately.
authorKalyan Kondapally <kalyan.kondapally@intel.com>
Sun, 29 Jan 2017 22:02:41 +0000 (14:02 -0800)
committerKalyan Kondapally <kalyan.kondapally@intel.com>
Sun, 29 Jan 2017 22:23:32 +0000 (14:23 -0800)
commit2bd2bf50ca9b5d55851447d8f7a4e9fd9ab93e2e
tree7573c9847865abe348e17841c8f07450c4d47901
parentff7d952060986fbaf684b31d534ffb2b997117c7
Handle DPMS mode setting immediately.

We handle any pending modeset, dpms related operations together
while presenting layers. While this is fine for modeset, we may not
have another present call when application requested us to set the
mode to DPMS_OFF. Handle these calls immediately.

Jira: None.
Test: No regressions on Android or Linux test apps.

Signed-off-by: Kalyan Kondapally <kalyan.kondapally@intel.com>
common/core/internaldisplay.cpp
common/core/internaldisplay.h