samsung: emc: Change mode selection alg for 3-cluster.
authorYoungtae Lee <yt0729.lee@samsung.com>
Mon, 11 Jun 2018 02:10:49 +0000 (11:10 +0900)
committerlakkyung.jung <lakkyung.jung@samsung.com>
Mon, 23 Jul 2018 05:59:21 +0000 (14:59 +0900)
commit1dd5aeca76dc11b9976fcf6a5bc324c9eb543527
treefb6d76a47565976f52c12dca0c890e12113ce361
parentf76cf37d4fe722f50faf824422c75e8fb1d9b16d
samsung: emc: Change mode selection alg for 3-cluster.

remove imbal_heavy_cpus becuase, if there are just 2 cores in a cluster,
imbal_heavy_cpus is cause that mode couldn't be changed dual.

Support ldsum concept.
If ldsum of big/mid cluster is lower than ldsum_thr of a mode,
emc selects the mode regardless heavy_cpu count. Maybe it helps
changing dual more easy.

Support disabling domain_busy
If domain_busy_ratio is 0, emc doensn't check whether
domain is busy or not.
now, disable busy_ratio for big/mid clsuter.

Change-Id: Ia510d7da9609a0cce556f6bce30bb7f7218697bc
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
drivers/soc/samsung/exynos-emc.c
include/trace/events/power.h