Platform: Rockchip
OS: Android 6.0
Kernel: 3.10.92
ddr和gpu的clock都受dvfs模块管控, 所以只要执行:
root@rk3288:/ # cat /sys/dvfs/dvfs_tree
kernel log中打印出来:
[ 2264.928913] DVFS TREE:
[ 2264.928977] |
[ 2264.928977] |- voltage domain:vd_gpu
[ 2264.929069] |- current voltage:1150000
[ 2264.929125] |- current regu_mode:UNKNOWN
[ 2264.929199] | |
[ 2264.929199] | |- power domain:pd_gpu, status = OFF, current volt = 1150000, current regu_mode = UNKNOWN
[ 2264.929423] | | |
[ 2264.929423] | | |- clock: clk_gpu current: rate 480000, volt = 1150000, enable_dvfs = ENABLE
[ 2264.929550] | | |- clk limit(enable):[99000000, 480000000]; last set rate = 480000
[ 2264.929624] | | | |- freq = 99000, volt = 900000
[ 2264.929689] | | | |- freq = 198000, volt = 900000
[