Skip to content

Commit 319ff36

Browse files
committed
arm64: rockchip_defconfig: enable CONFIG_MEMORY_STATE_TIME
f3d9c31 ("Implement memory_state_time, used by qcom,cpubw") New driver memory_state_time tracks time spent in different DDR frequency and bandwidth states. Memory drivers such as qcom,cpubw can post updated state to the driver after registering a callback. Processed by a workqueue Bandwidth buckets are read in from device tree in the relevant qualcomm section, can be defined in any quantity and spacing. The data is exposed at /sys/kernel/memory_state_time, able to be read by the Android framework. Functionality is behind a config option CONFIG_MEMORY_STATE_TIME Change-Id: I4391cc3ed42c9f332bce4a7809c6f120e2798dae Signed-off-by: Tao Huang <huangtao@rock-chips.com>
1 parent 884b067 commit 319ff36

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm64/configs/rockchip_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ CONFIG_BLK_DEV_NVME=y
236236
CONFIG_ROCKCHIP_SCR=y
237237
CONFIG_SRAM=y
238238
CONFIG_UID_SYS_STATS=y
239+
CONFIG_MEMORY_STATE_TIME=y
239240
CONFIG_USB_CAM_GPIO=y
240241
CONFIG_SCSI=y
241242
CONFIG_BLK_DEV_SD=y

0 commit comments

Comments
 (0)