Mike Banon has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/51394 )
Change subject: lenovo/g505s: enable the AMD Core Performance Boost (CPB) feature ......................................................................
lenovo/g505s: enable the AMD Core Performance Boost (CPB) feature
According to [1] BLOBster & SakuraKun and olodar [2]: together with a " radeon.bapm=1 " Linux kernel option, this one-liner helps to enable the AMD Turbo Core a.k.a. AMD Core Performance Boost (CPB) feature [3] which improves the performance of Lenovo G505S laptop by up to 50%.
[1] https://www.linux.org.ru/forum/linux-hardware/15358337?cid=16181600 [2] https://board.kolibrios.org/viewtopic.php?f=25&p=76343#p76166 [3] https://en.wikipedia.org/wiki/AMD_Turbo_Core
Signed-off-by: Mike Banon mikebdp2@gmail.com Change-Id: I3f64dbbf8966e2e42fb5512cacbe645bd8f0bc15 --- M src/mainboard/lenovo/g505s/buildOpts.c 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/94/51394/1
diff --git a/src/mainboard/lenovo/g505s/buildOpts.c b/src/mainboard/lenovo/g505s/buildOpts.c index 19add3a..dc10dc3 100644 --- a/src/mainboard/lenovo/g505s/buildOpts.c +++ b/src/mainboard/lenovo/g505s/buildOpts.c @@ -41,6 +41,8 @@ #define BLDCFG_ENABLE_ECC_FEATURE TRUE #define BLDCFG_ECC_SYNC_FLOOD FALSE
+#define BLDCFG_PLATFORM_CPB_MODE CpbModeAuto + #define BLDCFG_UMA_ALLOCATION_MODE UMA_SPECIFIED #define BLDCFG_UMA_ALLOCATION_SIZE 0x2000 /* (0x2000 << 16) = 512M */