Skip to content

Commit

Permalink
Merge branch 'pm-cpufreq-governor' into pm-cpufreq
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael J. Wysocki committed Mar 10, 2016
2 parents edd4a89 + adaf9fc commit a5acbfb
Show file tree
Hide file tree
Showing 17 changed files with 1,031 additions and 1,148 deletions.
1 change: 1 addition & 0 deletions drivers/cpufreq/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ config CPU_FREQ
if CPU_FREQ

config CPU_FREQ_GOV_COMMON
select IRQ_WORK
bool

config CPU_FREQ_BOOST_SW
Expand Down
8 changes: 4 additions & 4 deletions drivers/cpufreq/amd_freq_sensitivity.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <asm/msr.h>
#include <asm/cpufeature.h>

#include "cpufreq_governor.h"
#include "cpufreq_ondemand.h"

#define MSR_AMD64_FREQ_SENSITIVITY_ACTUAL 0xc0010080
#define MSR_AMD64_FREQ_SENSITIVITY_REFERENCE 0xc0010081
Expand All @@ -45,10 +45,10 @@ static unsigned int amd_powersave_bias_target(struct cpufreq_policy *policy,
long d_actual, d_reference;
struct msr actual, reference;
struct cpu_data_t *data = &per_cpu(cpu_data, policy->cpu);
struct dbs_data *od_data = policy->governor_data;
struct policy_dbs_info *policy_dbs = policy->governor_data;
struct dbs_data *od_data = policy_dbs->dbs_data;
struct od_dbs_tuners *od_tuners = od_data->tuners;
struct od_cpu_dbs_info_s *od_info =
od_data->cdata->get_cpu_dbs_info_s(policy->cpu);
struct od_policy_dbs_info *od_info = to_dbs_info(policy_dbs);

if (!od_info->freq_table)
return freq_next;
Expand Down
Loading

0 comments on commit a5acbfb

Please sign in to comment.