• D
    PM / devfreq: tegra30: Make CPUFreq notifier to take into account boosting · d2216ba3
    Dmitry Osipenko 提交于
    We're taking into account both HW memory-accesses + CPU activity based on
    current CPU's frequency. For memory-accesses there is a kind of hysteresis
    in a form of "boosting" which is managed by the tegra30-devfreq driver.
    If current HW memory activity is higher than activity judged based of the
    CPU's frequency, then there is no need to schedule cpufreq_update_work
    because the result of the work will be a NO-OP. And thus,
    tegra_actmon_cpufreq_contribution() should return 0, meaning that at the
    moment CPU frequency doesn't contribute anything to the final decision
    about required memory clock rate.
    Signed-off-by: NDmitry Osipenko <digetx@gmail.com>
    Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com>
    d2216ba3
tegra30-devfreq.c 23.9 KB