Merge "power: Modify power HAL hint for Interactive governor"

This commit is contained in:
Linux Build Service Account 2014-03-11 12:54:13 -07:00 committed by Gerrit - the friendly Code Review server
commit 215e2ef021
2 changed files with 3 additions and 1 deletions

View File

@ -115,6 +115,8 @@ enum ONDEMAND_SAMPLING_DOWN_FACTOR_LVL {
enum INTERACTIVE_TIMER_RATE_LVL {
TR_MS_500 = 0xECD,
TR_MS_100 = 0xEF5,
TR_MS_50 = 0xEFA,
TR_MS_30 = 0xEFC,
TR_MS_20 = 0xEFD,
};

View File

@ -260,7 +260,7 @@ void set_interactive(struct power_module *module, int on)
}
} else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
(strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) {
int resource_values[] = {TR_MS_500, THREAD_MIGRATION_SYNC_OFF};
int resource_values[] = {TR_MS_50, THREAD_MIGRATION_SYNC_OFF};
if (!display_hint_sent) {
perform_hint_action(DISPLAY_STATE_HINT_ID,