|
@@ -1620,9 +1620,6 @@ static inline int32_t get_target_pstate_use_cpu_load(struct cpudata *cpu)
|
|
|
int32_t busy_frac, boost;
|
|
|
int target, avg_pstate;
|
|
|
|
|
|
- if (cpu->policy == CPUFREQ_POLICY_PERFORMANCE)
|
|
|
- return cpu->pstate.turbo_pstate;
|
|
|
-
|
|
|
busy_frac = div_fp(sample->mperf, sample->tsc);
|
|
|
|
|
|
boost = cpu->iowait_boost;
|
|
@@ -1659,9 +1656,6 @@ static inline int32_t get_target_pstate_use_performance(struct cpudata *cpu)
|
|
|
int32_t perf_scaled, max_pstate, current_pstate, sample_ratio;
|
|
|
u64 duration_ns;
|
|
|
|
|
|
- if (cpu->policy == CPUFREQ_POLICY_PERFORMANCE)
|
|
|
- return cpu->pstate.turbo_pstate;
|
|
|
-
|
|
|
/*
|
|
|
* perf_scaled is the ratio of the average P-state during the last
|
|
|
* sampling period to the P-state requested last time (in percent).
|