lkml.org 
[lkml]   [2016]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] cpufreq: CPPC: Correct desired_perf calculation
From
Date
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@apm.com>
Reviewed-by: Prashanth Prakash <pprakash@codeaurora.org>

Hi Rafael,
Can you please pick this one for 4.9, as it is bug fix?

--
Thanks,
Prashanth

\
 
 \ /
  Last update: 2016-10-13 21:47    [W:0.035 / U:0.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site