From 96a22234baf20cbd5b09e0fe42a8690ff9622883 Mon Sep 17 00:00:00 2001 From: Steve Kondik Date: Sun, 23 Sep 2012 06:29:21 -0700 Subject: power: Add POWER_HINT_CPU_BOOST * New hint to support CPU boosting with a duration. Change-Id: I79b5a33814f2dbeaa033c950264d430876505175 --- include/hardware/power.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit v1.1