power: Adds a new power hint POWER_HINT_LOW_POWER
Change-Id: Ib0adda9bce0719eb47d41dc7c77f4bd9576311a9 Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
This commit is contained in:
parent
0d1cd3fcc2
commit
62f67558af
1 changed files with 9 additions and 1 deletions
|
@ -44,7 +44,8 @@ typedef enum {
|
|||
* KLP.
|
||||
*/
|
||||
POWER_HINT_VIDEO_ENCODE = 0x00000003,
|
||||
POWER_HINT_VIDEO_DECODE = 0x00000004
|
||||
POWER_HINT_VIDEO_DECODE = 0x00000004,
|
||||
POWER_HINT_LOW_POWER = 0x00000005
|
||||
} power_hint_t;
|
||||
|
||||
/**
|
||||
|
@ -112,6 +113,13 @@ typedef struct power_module {
|
|||
* and it may be appropriate to raise speeds of CPU, memory bus,
|
||||
* etc. The data parameter is unused.
|
||||
*
|
||||
* POWER_HINT_LOW_POWER
|
||||
*
|
||||
* Low power mode is activated or deactivated. Low power mode
|
||||
* is intended to save battery at the cost of performance. The data
|
||||
* parameter is non-zero when low power mode is activated, and zero
|
||||
* when deactivated.
|
||||
*
|
||||
* A particular platform may choose to ignore any hint.
|
||||
*
|
||||
* availability: version 0.2
|
||||
|
|
Loading…
Reference in a new issue