]> 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)
commit9f4637db2cf292ddb3d697f1af9dc035735953d0
tree14659273e31e976706151c98beb565eafc4be694
parent4e366300184583a426d18cb1e767f2a8f9837036
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