Merge "power: Adds a new power hint POWER_HINT_VR_MODE" into nyc-dev

am: bfa59e7

* commit 'bfa59e7fefab682c92fd0e8a2f25cc22b1252164':
  power: Adds a new power hint POWER_HINT_VR_MODE
This commit is contained in:
Ruchi Kandoi 2016-03-21 19:47:42 +00:00 committed by android-build-merger
commit 4cdade5445

View file

@ -48,7 +48,8 @@ typedef enum {
POWER_HINT_VIDEO_ENCODE = 0x00000003,
POWER_HINT_VIDEO_DECODE = 0x00000004,
POWER_HINT_LOW_POWER = 0x00000005,
POWER_HINT_SUSTAINED_PERFORMANCE = 0x00000006
POWER_HINT_SUSTAINED_PERFORMANCE = 0x00000006,
POWER_HINT_VR_MODE = 0x00000007
} power_hint_t;
typedef enum {
@ -136,6 +137,13 @@ typedef struct power_module {
* non-zero when sustained performance mode is activated, and zero
* when deactivated.
*
* POWER_HINT_VR_MODE
*
* VR Mode is activated or deactivated. VR mode is intended to
* provide minimum guarantee for performance for the amount of time the
* device can sustain it. The data parameter is non-zero when the mode
* is activated and zero when deactivated.
*
* A particular platform may choose to ignore any hint.
*
* availability: version 0.2