OSDN Git Service

ANDROID: cpufreq/schedutil: Fix integration of schedtune CPU margin
authorQuentin Perret <quentin.perret@arm.com>
Mon, 16 Jul 2018 11:05:10 +0000 (12:05 +0100)
committerAmit Pundir <amit.pundir@linaro.org>
Tue, 14 Aug 2018 12:17:11 +0000 (17:47 +0530)
commit16acd9d8140ce4b0848d35b726895f946f4a7518
tree763c195e7b6f1d5a4086e98a1efb615e04ebc9ba
parente9a4831fa45d33bb304de0cd8004970e8d27c3d6
ANDROID: cpufreq/schedutil: Fix integration of schedtune CPU margin

Schedtune enables to boost CPUs to higher frequencies when boosted tasks
are running. However, this isn't accounted in schedutil yet, which means
that schedtune's margin is ignored when requesting OPPs.

Fix this by calling boosted_cpu_util() instead of cpu_util_cfs() from
schedutil.

Signed-off-by: Quentin Perret <quentin.perret@arm.com>
Change-Id: Idd20f124c0c683b41502ad02ff80395d583c2077
kernel/sched/cpufreq_schedutil.c