摘要
本文讲述如何在 DAYU200,也即 RK3568 平台设置 CPU、GPU 等设备的运行频率。
CPU 频率设置
查看可用 Governor 和频率
cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_governors
# For DAYU200, output is conservative ondemand userspace powersave performance schedutil
cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies
# # For DAYU200, output is 408000 600000 816000 1104000 1416000 1608000 1800000 1992000
设置 Governor 和频率
echo <governor_name> > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor # set current governor
cat /sys/devices/system/cpu/cpufreq/policy0/scaling_governor # print current governor
echo <cpu_freq_value> > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq; # set cpu min freq
echo <cpu_freq_value> > /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq; # set cpu max freq
cat /sys/devices/syst
911



被折叠的 条评论
为什么被折叠?



