Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95e9552b authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched/walt: Improve the scheduler"

parents 734fd627 a733dc8b
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -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);

@@ -647,8 +634,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 */
+0 −2
Original line number Diff line number Diff line
@@ -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) { }