aboutsummaryrefslogtreecommitdiffstats
path: root/tools/power/cpupower/utils/helpers/helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/power/cpupower/utils/helpers/helpers.h')
-rw-r--r--tools/power/cpupower/utils/helpers/helpers.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/tools/power/cpupower/utils/helpers/helpers.h b/tools/power/cpupower/utils/helpers/helpers.h
index 9125a551ac1d..592ee362b877 100644
--- a/tools/power/cpupower/utils/helpers/helpers.h
+++ b/tools/power/cpupower/utils/helpers/helpers.h
@@ -58,6 +58,7 @@ enum cpupower_cpu_vendor {X86_VENDOR_UNKNOWN = 0, X86_VENDOR_INTEL,
58#define CPUPOWER_CAP_PERF_BIAS 0x00000008 58#define CPUPOWER_CAP_PERF_BIAS 0x00000008
59#define CPUPOWER_CAP_HAS_TURBO_RATIO 0x00000010 59#define CPUPOWER_CAP_HAS_TURBO_RATIO 0x00000010
60#define CPUPOWER_CAP_IS_SNB 0x00000011 60#define CPUPOWER_CAP_IS_SNB 0x00000011
61#define CPUPOWER_CAP_INTEL_IDA 0x00000012
61 62
62#define MAX_HW_PSTATES 10 63#define MAX_HW_PSTATES 10
63 64
@@ -115,9 +116,6 @@ extern int msr_intel_set_perf_bias(unsigned int cpu, unsigned int val);
115extern int msr_intel_get_perf_bias(unsigned int cpu); 116extern int msr_intel_get_perf_bias(unsigned int cpu);
116extern unsigned long long msr_intel_get_turbo_ratio(unsigned int cpu); 117extern unsigned long long msr_intel_get_turbo_ratio(unsigned int cpu);
117 118
118extern int msr_intel_has_boost_support(unsigned int cpu);
119extern int msr_intel_boost_is_active(unsigned int cpu);
120
121/* Read/Write msr ****************************/ 119/* Read/Write msr ****************************/
122 120
123/* PCI stuff ****************************/ 121/* PCI stuff ****************************/
@@ -163,11 +161,6 @@ static inline int msr_intel_get_perf_bias(unsigned int cpu)
163static inline unsigned long long msr_intel_get_turbo_ratio(unsigned int cpu) 161static inline unsigned long long msr_intel_get_turbo_ratio(unsigned int cpu)
164{ return 0; }; 162{ return 0; };
165 163
166static inline int msr_intel_has_boost_support(unsigned int cpu)
167{ return -1; };
168static inline int msr_intel_boost_is_active(unsigned int cpu)
169{ return -1; };
170
171/* Read/Write msr ****************************/ 164/* Read/Write msr ****************************/
172 165
173static inline int cpufreq_has_boost_support(unsigned int cpu, int *support, 166static inline int cpufreq_has_boost_support(unsigned int cpu, int *support,