Re: [PATCH] thermal/drivers/cpuidle_cooling: Change the set_cur_state function

2020-09-17 Thread Daniel Lezcano
On 17/09/2020 14:33, Daniel Lezcano wrote: [ .. ] > It does not really matter if the update is delayed. Restarting the idle > injection at each update will be worth in the cooling context than > waiting an idle cycle. s/worth/worse/ -- Linaro.org │ Open source soft

Re: [PATCH] thermal/drivers/cpuidle_cooling: Change the set_cur_state function

2020-09-17 Thread zhuguangqing83
> > On 17/09/2020 13:15, zhuguangqing83 wrote: > > > >>> From: zhuguangqing > >>> > >>> In the function cpuidle_cooling_set_cur_state(), if current_state is > >>> not equal to state and both current_state and state are greater than > >>> 0(scene 4 as follows), then maybe it should stop->start or

Re: [PATCH] thermal/drivers/cpuidle_cooling: Change the set_cur_state function

2020-09-17 Thread Daniel Lezcano
On 17/09/2020 13:15, zhuguangqing83 wrote: > >>> From: zhuguangqing >>> >>> In the function cpuidle_cooling_set_cur_state(), if current_state is >>> not equal to state and both current_state and state are greater than >>> 0(scene 4 as follows), then maybe it should stop->start or restart >>> idle

Re: [PATCH] thermal/drivers/cpuidle_cooling: Change the set_cur_state function

2020-09-17 Thread zhuguangqing83
> > From: zhuguangqing > > > > In the function cpuidle_cooling_set_cur_state(), if current_state is > > not equal to state and both current_state and state are greater than > > 0(scene 4 as follows), then maybe it should stop->start or restart > > idle_inject. > > Sorry, I don't get it. > > It

Re: [PATCH] thermal/drivers/cpuidle_cooling: Change the set_cur_state function

2020-09-17 Thread Daniel Lezcano
On 17/09/2020 08:00, zhuguangqin...@gmail.com wrote: > From: zhuguangqing > > In the function cpuidle_cooling_set_cur_state(), if current_state is > not equal to state and both current_state and state are greater than > 0(scene 4 as follows), then maybe it should stop->start or restart > idle_inj

[PATCH] thermal/drivers/cpuidle_cooling: Change the set_cur_state function

2020-09-16 Thread zhuguangqing83
From: zhuguangqing In the function cpuidle_cooling_set_cur_state(), if current_state is not equal to state and both current_state and state are greater than 0(scene 4 as follows), then maybe it should stop->start or restart idle_inject. The scenes changed is as follows, scenecurrent_state