summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/hardware/power.h7
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