[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b027d9b7-67c5-68e7-d412-1f22edef34cc@codeaurora.org>
Date: Thu, 13 Oct 2016 13:37:11 -0600
From: "Prakash, Prashanth" <pprakash@...eaurora.org>
To: Hoan Tran <hotran@....com>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
Viresh Kumar <viresh.kumar@...aro.org>,
Al Stone <ahs3@...hat.com>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
lho@....com, Duc Dang <dhdang@....com>,
Christopher Covington <cov@...eaurora.org>
Subject: Re: [PATCH v2] cpufreq: CPPC: Correct desired_perf calculation
On 10/13/2016 11:33 AM, Hoan Tran wrote:
> The desired_perf is an abstract performance number. Its value should
> be in the range of [lowest perf, highest perf] of CPPC.
> The correct calculation is
> desired_perf = freq * cppc_highest_perf / cppc_dmi_max_khz
>
> And cppc_cpufreq_set_target() returns if desired_perf is exactly
> the same with the old perf.
>
> Signed-off-by: Hoan Tran <hotran@....com>
Reviewed-by: Prashanth Prakash <pprakash@...eaurora.org>
Hi Rafael,
Can you please pick this one for 4.9, as it is bug fix?
--
Thanks,
Prashanth
Powered by blists - more mailing lists