]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc/cell/cpufreq: Add spu aware cpufreq governor
authorChristian Krafft <krafft@de.ibm.com>
Tue, 15 Jul 2008 19:51:43 +0000 (05:51 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 22 Jul 2008 00:39:31 +0000 (10:39 +1000)
commit880e710580c09bf86cddac687fc492a8318934fe
tree96df30fa63b986bf6b8ef63febfaaba8bc80ee80
parent8204cba7fa0ca0752fdaec021dae2634788178aa
powerpc/cell/cpufreq: Add spu aware cpufreq governor

This patch adds a cpufreq governor that takes the number of running spus
into account. It's very similar to the ondemand governor, but not as complex.
Instead of hacking spu load into the ondemand governor it might be easier to
have cpufreq accepting multiple governors per cpu in future.
Don't know if this is the right way, but it would keep the governors simple.

Signed-off-by: Christian Krafft <krafft@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Dave Jones <davej@redhat.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/cell/Kconfig
arch/powerpc/platforms/cell/Makefile
arch/powerpc/platforms/cell/cpufreq_spudemand.c [new file with mode: 0644]