power: Remove leftover support for ondemand governor
Change-Id: Id4c2aa5efa7101535a7311e34529e0b90c7491f1
This commit is contained in:
@@ -124,16 +124,6 @@ enum SAMPLING_RATE_LVL {
|
|||||||
MS_20 = 0xBFD,
|
MS_20 = 0xBFD,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum ONDEMAND_IO_BUSY_LVL {
|
|
||||||
IO_BUSY_OFF = 0xC00,
|
|
||||||
IO_BUSY_ON = 0xC01,
|
|
||||||
};
|
|
||||||
|
|
||||||
enum ONDEMAND_SAMPLING_DOWN_FACTOR_LVL {
|
|
||||||
SAMPLING_DOWN_FACTOR_1 = 0xD01,
|
|
||||||
SAMPLING_DOWN_FACTOR_4 = 0xD04,
|
|
||||||
};
|
|
||||||
|
|
||||||
enum INTERACTIVE_TIMER_RATE_LVL {
|
enum INTERACTIVE_TIMER_RATE_LVL {
|
||||||
TR_MS_500 = 0xECD,
|
TR_MS_500 = 0xECD,
|
||||||
TR_MS_100 = 0xEF5,
|
TR_MS_100 = 0xEF5,
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ extern "C" {
|
|||||||
#define NODE_MAX (64)
|
#define NODE_MAX (64)
|
||||||
|
|
||||||
#define SCALING_GOVERNOR_PATH "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
|
#define SCALING_GOVERNOR_PATH "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
|
||||||
#define ONDEMAND_GOVERNOR "ondemand"
|
|
||||||
#define INTERACTIVE_GOVERNOR "interactive"
|
#define INTERACTIVE_GOVERNOR "interactive"
|
||||||
#define SCHEDUTIL_GOVERNOR "schedutil"
|
#define SCHEDUTIL_GOVERNOR "schedutil"
|
||||||
|
|
||||||
|
|||||||
4
utils.h
4
utils.h
@@ -39,10 +39,6 @@ int get_scaling_governor(char governor[], int size);
|
|||||||
int get_scaling_governor_check_cores(char governor[], int size,int core_num);
|
int get_scaling_governor_check_cores(char governor[], int size,int core_num);
|
||||||
int is_interactive_governor(char*);
|
int is_interactive_governor(char*);
|
||||||
|
|
||||||
void vote_ondemand_io_busy_off();
|
|
||||||
void unvote_ondemand_io_busy_off();
|
|
||||||
void vote_ondemand_sdf_low();
|
|
||||||
void unvote_ondemand_sdf_low();
|
|
||||||
void perform_hint_action(int hint_id, int resource_values[],
|
void perform_hint_action(int hint_id, int resource_values[],
|
||||||
int num_resources);
|
int num_resources);
|
||||||
void undo_hint_action(int hint_id);
|
void undo_hint_action(int hint_id);
|
||||||
|
|||||||
Reference in New Issue
Block a user