ARM: tegra11x: set cpu_lp2_min_residency to 1000
authorRichard Zhao <rizhao@nvidia.com>
Mon, 21 Jan 2013 01:51:41 +0000 (01:51 +0000)
committerRiham Haidar <rhaidar@nvidia.com>
Fri, 1 Feb 2013 03:01:04 +0000 (19:01 -0800)
commit9a2fd9c6bfbb5c00c63139d96759f22556cf9056
tree5182f558ebb9b4dfcafcc32587c33c67b634b180
parentd72ff647cdd4f192d96a6d190fa2457dc4148c9b
ARM: tegra11x: set cpu_lp2_min_residency to 1000

cpu_lp2_min_residency set the minimal cpuidle lp2 target residency. It
can tune chances entering to lp2.

It fixes bug that lp2 consumes more power when video playback. If
cpu_lp2_min_residency is zero, it causes higher G cpu residency and
more cluster switch.

Bug 1216668

Change-Id: I7246dda75fea488b75d8f4a0a8446e2efe3b55e0
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: http://git-master/r/192702
(cherry picked from commit 12054d76a810f419d8f9cf477c76a1b38fe13e5c)
Reviewed-on: http://git-master/r/193634
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
arch/arm/mach-tegra/board-dalmore-power.c
arch/arm/mach-tegra/board-pluto-power.c
arch/arm/mach-tegra/board-roth-power.c