Home
last modified time | relevance | path

Searched hist:"28615 e37be96877e5bb3559f566e50a291cf7a05" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/devfreq/
H A Dtegra30-devfreq.cdiff 28615e37be96877e5bb3559f566e50a291cf7a05 Mon Nov 04 22:56:13 CET 2019 Dmitry Osipenko <digetx@gmail.com> PM / devfreq: tegra30: Use kHz units for dependency threshold

The dependency threshold designates a memory activity level below which
CPU's frequency isn't accounted. Currently the threshold is given in
"memory cycle" units and that value depends on the polling interval which
is fixed to 12ms in the driver. Later on we'd want to add support for a
variable polling interval and thus the threshold value either needs to be
scaled in accordance to the polling interval or it needs to be represented
in a units that do not depend on the polling interval.

It is nicer to have threshold value being defined independently of the
polling interval, thus this patch converts the dependency threshold units
from "cycle" to "kHz". Having this change as a separate-preparatory patch
will make easier to follow further patches.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>