summaryrefslogtreecommitdiff
path: root/arch/arm64/configs/puma-rk3399_defconfig
diff options
context:
space:
mode:
authorJakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>2018-05-09 15:35:40 +0200
committerChristoph Muellner <christoph.muellner@theobroma-systems.com>2019-10-02 00:39:23 +0200
commit9227a39c7ec18d734a659cfec304aa50155c32ed (patch)
tree5283cfb12de39391c877072384415e36430ec921 /arch/arm64/configs/puma-rk3399_defconfig
parentbefccbcd9ef384ac9149a99a8dc078605d978f89 (diff)
arm64: rockchip: rk3399-puma: enable memory frequency scaling
DDR memory frequency scaling is called DMC (dynamic memory controller) in the RK3399 SoC. Enable it in the DTS and in the defconfig. To improve the reaction time of the rockchip_dmc governor, CONFIG_HZ_PERIODIC is enabled, at the cost of a 3% idle power increase. I see worst case reaction times of tens of seconds without it, because devfreq_dmc_ondemand_func does not get to run. The upthreshold and downdifferential values in the DTS are more aggressive than what rockchip uses. This improves U-Boot make -j6 compile time by 8%. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
Diffstat (limited to 'arch/arm64/configs/puma-rk3399_defconfig')
-rw-r--r--arch/arm64/configs/puma-rk3399_defconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm64/configs/puma-rk3399_defconfig b/arch/arm64/configs/puma-rk3399_defconfig
index 9a844fb79152..b2488aa77dfd 100644
--- a/arch/arm64/configs/puma-rk3399_defconfig
+++ b/arch/arm64/configs/puma-rk3399_defconfig
@@ -1,6 +1,7 @@
CONFIG_DEFAULT_HOSTNAME="localhost"
CONFIG_SYSVIPC=y
CONFIG_FHANDLE=y
+CONFIG_HZ_PERIODIC=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_TASKSTATS=y
@@ -487,10 +488,10 @@ CONFIG_MAILBOX=y
CONFIG_ROCKCHIP_IOMMU=y
CONFIG_ROCKCHIP_PM_DOMAINS=y
CONFIG_PM_DEVFREQ=y
-CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND=y
CONFIG_DEVFREQ_GOV_PERFORMANCE=y
CONFIG_DEVFREQ_GOV_POWERSAVE=y
CONFIG_DEVFREQ_GOV_USERSPACE=y
+CONFIG_ARM_ROCKCHIP_DMC_DEVFREQ=y
CONFIG_PM_DEVFREQ_EVENT=y
CONFIG_MEMORY=y
CONFIG_IIO=y