]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: expose a cpufreq_quick_get_max routine
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 28 Jun 2011 17:59:12 +0000 (10:59 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 28 Jun 2011 20:54:26 +0000 (13:54 -0700)
commit67ccf9a72ea5be47a9d052639f201c1bc15d4f18
tree14659273e31e976706151c98beb565eafc4be694
parent99a73cb7c201db9431e11ed849ba64c55417e0e6
cpufreq: expose a cpufreq_quick_get_max routine

This allows drivers and other code to get the max reported CPU frequency.
Initial use is for scaling ring frequency with GPU frequency in the i915
driver.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/cpufreq/cpufreq.c
include/linux/cpufreq.h