diff options
author | Steve Kondik <shade@chemlab.org> | 2012-09-23 06:29:21 -0700 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2012-09-23 06:29:21 -0700 |
commit | 96a22234baf20cbd5b09e0fe42a8690ff9622883 (patch) | |
tree | 97756bc8a17ceff4edcda016e2f6919b38aa91ec | |
parent | 6f3fda3e6daf09650b9a5639f4bf8d692243c46a (diff) | |
download | hardware_libhardware-96a22234baf20cbd5b09e0fe42a8690ff9622883.zip hardware_libhardware-96a22234baf20cbd5b09e0fe42a8690ff9622883.tar.gz hardware_libhardware-96a22234baf20cbd5b09e0fe42a8690ff9622883.tar.bz2 |
power: Add POWER_HINT_CPU_BOOST
* New hint to support CPU boosting with a duration.
Change-Id: I79b5a33814f2dbeaa033c950264d430876505175
-rw-r--r-- | include/hardware/power.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/hardware/power.h b/include/hardware/power.h index 39b066c..b3724f0 100644 --- a/include/hardware/power.h +++ b/include/hardware/power.h @@ -42,6 +42,7 @@ typedef enum { POWER_HINT_VSYNC = 0x00000001, POWER_HINT_INTERACTION = 0x00000002, POWER_HINT_VIDEO_ENCODE = 0x00000003, + POWER_HINT_CPU_BOOST = 0x00000004, } power_hint_t; /** @@ -120,6 +121,12 @@ typedef struct power_module { * need to be used. More keys can be provided depending on the data * that is to be passed. * + * POWER_HINT_CPU_BOOST + * + * An operation is happening where it would be ideal for the CPU to + * be boosted for a specific duration. The data parameter is an + * integer value of the boost duration in microseconds. + * * A particular platform may choose to ignore any hint. * * availability: version 0.2 |