src/mainboard/pcengines/apu2/OemCustomize.c: Enable CPB feature
commit7bfdf5be6397713f776f0a98c2ebcd9340632195
authorMichał Żygowski <michal.zygowski@3mdeb.com>
Mon, 4 Feb 2019 14:22:01 +0000 (4 15:22 +0100)
committerKyösti Mälkki <kyosti.malkki@gmail.com>
Mon, 11 Feb 2019 11:40:10 +0000 (11 11:40 +0000)
treea59e3d398d4c852cf06f288965310a8a417d9b35
parent8a41f4b71e883ec66be511cb592ee19dfa6708c5
src/mainboard/pcengines/apu2/OemCustomize.c: Enable CPB feature

Enable Core Performance Boost feature in automatic mode.
Also enable C6 state which is a dependency for proper CPB operation.

CPB allows to raise single core frequency from 1000MHz to 1400MHz
during high load if other cores idle. The processor has additional
boosted P-states when CPB is enabled, but these are hidden from OS.

TEST: Higher single-core CPU performance is indicated by increased
memory bandwidth as reported by memtest86+.

Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Change-Id: I5e080bfaee06fd13cedf5151d4a598ec212213f2
Reviewed-on: https://review.coreboot.org/c/31229
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/mainboard/pcengines/apu2/OemCustomize.c