Hi community,
I have a question about i.MX6 Linux BSP (Yocto BSP).
I want to know how the each governor of CPUFREQ driver controls CPU frequency.
My current understanding is as below.
Would you check my understanding and let me know how governors control when conservative or ondemand mode?
conservative : ?
ondemand : ?
userspace : Set frequency to the value written in /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed (?)
powersave : Keep min frequency (?)
interactive : Enable DVFS (default?)
performance : Keep max frequency
Best Regards,
Satoshi Shimoda
Solved! Go to Solution.
HI Satoshi
cpu freq governors are general linux attributes and described in common linux docs :
https://wiki.archlinux.org/index.php/CPU_frequency_scaling
https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt
as for i.MX6 implementation one can look at sources given in attached
Linux Manual Chapter 24 CPU Frequency Scaling (CPUFREQ) Driver
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
HI Satoshi
cpu freq governors are general linux attributes and described in common linux docs :
https://wiki.archlinux.org/index.php/CPU_frequency_scaling
https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt
as for i.MX6 implementation one can look at sources given in attached
Linux Manual Chapter 24 CPU Frequency Scaling (CPUFREQ) Driver
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------