3576 npu ddr gpu 定頻(cpu定頻還不知道)

WenJXUST發表於2024-11-05

參考:RK3588 CPU GPU DDR NPU定頻和效能模式設定_rk3588 gpu-CSDN部落格

0、npu

cd /sys/class/devfreq/

可以看到 npu,gpu,vop(Video Output Processor),dmc(DDR)

定頻

echo userspace > /sys/class/devfreq/27700000.npu/governor
echo 1000000000 > /sys/class/devfreq/27700000.npu/userspace/set_freq
cat /sys/class/devfreq/27700000.npu/cur_freq

1、gpu

cat /sys/class/devfreq/27800000.gpu/available_frequencies
echo userspace > /sys/class/devfreq/27800000.gpu/governor
echo 900000000 > /sys/class/devfreq/27800000.gpu/userspace/set_freq
cat /sys/class/devfreq/27800000.gpu/cur_freq

2、dmc(DDR)

cat /sys/class/devfreq/dmc/available_frequencies
echo userspace > /sys/class/devfreq/dmc/governor
echo 2112000000 > /sys/class/devfreq/dmc/userspace/set_freq
cat /sys/class/devfreq/dmc/cur_freq

相關文章