power: Modify power HAL hint for Interactive governor
Currently power HAL sets display off hint to 500ms for Interactive Governor, this change modifies the hint to 50ms to enable CPU to sample and scale better. Change-Id: I611f7d318c78f85fb345852b8e2c82ec1cbda006
This commit is contained in:
parent
b60dfe1927
commit
345e89dd9c
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue