sched/walt: Improve the scheduler

This change is for general scheduler improvements.

Change-Id: Id48c9ddaee0c9f5dcadc2975346b33d72f4fc8ba
Signed-off-by: Amir Vajid <avajid@codeaurora.org>
This commit is contained in:
Amir Vajid 2020-07-21 09:50:38 -07:00
commit a733dc8baa
2 changed files with 0 additions and 17 deletions

View file

@ -118,18 +118,6 @@ struct task_group;
(task->flags & PF_FROZEN) == 0 && \
(task->state & TASK_NOLOAD) == 0)
/*
* Enum for display driver to provide varying refresh rates
*/
enum fps {
FPS0 = 0,
FPS30 = 30,
FPS48 = 48,
FPS60 = 60,
FPS90 = 90,
FPS120 = 120,
};
enum task_boost_type {
TASK_BOOST_NONE = 0,
TASK_BOOST_ON_MID,
@ -562,7 +550,6 @@ register_cpu_cycle_counter_cb(struct cpu_cycle_counter_cb *cb);
extern void
sched_update_cpu_freq_min_max(const cpumask_t *cpus, u32 fmin, u32 fmax);
extern void free_task_load_ptrs(struct task_struct *p);
extern void sched_set_refresh_rate(enum fps fps);
extern int set_task_boost(int boost, u64 period);
extern void walt_update_cluster_topology(void);
@ -646,8 +633,6 @@ static inline void free_task_load_ptrs(struct task_struct *p) { }
static inline void sched_update_cpu_freq_min_max(const cpumask_t *cpus,
u32 fmin, u32 fmax) { }
static inline void sched_set_refresh_rate(enum fps fps) { }
static inline void set_task_boost(int boost, u64 period) { }
static inline void walt_update_cluster_topology(void) { }
#endif /* CONFIG_SCHED_WALT */

View file

@ -71,8 +71,6 @@ void __weak sched_update_cpu_freq_min_max(const cpumask_t *cpus, u32 fmin,
void __weak free_task_load_ptrs(struct task_struct *p) { }
void __weak sched_set_refresh_rate(enum fps fps) { }
int __weak core_ctl_set_boost(bool boost) { return 0; }
void __weak core_ctl_notifier_register(struct notifier_block *n) { }