rockchip: fix the scu idle for rk3399
authorTony Xie <tony.xie@rock-chips.com>
Fri, 2 Sep 2016 18:13:38 +0000 (11:13 -0700)
committerCaesar Wang <wxt@rock-chips.com>
Thu, 8 Sep 2016 07:04:58 +0000 (15:04 +0800)
commit63ebf051b09a4f328de9a124cd18c8634ad2600a
tree8f6aad17ebbdbcb1da89961eb927095caf6df709
parent99e89377ebdcf8b46ae5dcb5f940483760a8a03f
rockchip: fix the scu idle for rk3399

As rk3399 reported the d8/octane scores drop 10% with cpu idle.
The root cause is thc cpu cluster enter the slow mode.
We don't need switch the clock to 24MHz if cpu cluster enter the
retention mode. In order to improve performance, it just needs for
cluster enter powering off mode.

Also, we shouldn't do anything for hlvl if the system is off.

Change-Id: I2a02962a01343abd0cba47ed63192c1cdf88b119
plat/rockchip/common/plat_pm.c [changed mode: 0644->0755]
plat/rockchip/rk3399/drivers/pmu/pmu.c [changed mode: 0644->0755]