sched: ems: update cpu_scale when policy is updated
authorPark Bumgyu <bumgyu.park@samsung.com>
Wed, 2 May 2018 02:27:23 +0000 (11:27 +0900)
committerlakkyung.jung <lakkyung.jung@samsung.com>
Mon, 23 Jul 2018 05:59:42 +0000 (14:59 +0900)
commit912d4caa42a2ac17cac1e956fcbc54fe664e4bcd
tree613a1d2c1e662041ceb1539d48db2ccee0e65ca5
parent509ada966159aa59e81b40916ab426080ad1fe67
sched: ems: update cpu_scale when policy is updated

When policy->max is pressed, the performance of the cpu is
constrained. In the constrained state, the cpu capacity also
changes, and the overutil condition changes accordingly, so
the cpu scale is updated whenever policy is changed.

Change-Id: Ie6938e605d55cf700164a7512ffd6c41a747cbbc
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
kernel/sched/ems/energy.c