linux-uconsole/drivers/devfreq
Tao Huang c95036feef PM / devfreq: rockchip_dmc: Fix deadlock between dmcfreq and vop on/off
When change vop status and ddr frequency at the same time,
the following deadlock will happen:

vop no/off                            dmcfreq
vop_crtc_disable                      update_devfreq
->mutex_lock(&vop->vop_lock);         ->mutex_lock(&pd->pmu->mutex);
->pm_runtime_put(vop->dev);           ->mutex_lock(&vop->vop_lock);
  ->mutex_lock(&pd->pmu->mutex);      ...

Use new dmcfreq rwsem to decouple vop and pd driver, and get better
parallelism.

Change-Id: I56a4ee944200826d2a09e3ae8d2f4837f6f769d6
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2018-05-17 11:43:55 +08:00
..
event PM / devfreq: event: add support for px30 dfi 2018-02-08 14:53:27 +08:00
exynos devfreq: exynos: drop owner assignment from platform_drivers 2014-10-20 16:20:27 +02:00
ddr_rk3368.c rk3368 ddr: add configure ddr timing function 2015-09-15 16:30:38 +08:00
devfreq-event.c PM / devfreq: event: Add devfreq_event class 2015-01-30 17:56:40 +09:00
devfreq.c Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
governor.h PM / devfreq: provide hooks for governors to be registered 2012-11-20 18:46:12 +09:00
governor_performance.c PM / devfreq: governors: add GPL module license and allow module build 2012-11-20 18:46:23 +09:00
governor_powersave.c PM / devfreq: governors: add GPL module license and allow module build 2012-11-20 18:46:23 +09:00
governor_simpleondemand.c PM / devfreq: cache the last call to get_dev_status() 2015-09-11 14:23:28 +09:00
governor_userspace.c PM / devfreq: governors: add GPL module license and allow module build 2012-11-20 18:46:23 +09:00
Kconfig PM / devfreq: rockchip_bus: support soc bus devfreq. 2018-05-03 19:53:43 +08:00
Makefile PM / devfreq: rockchip_bus: support soc bus devfreq. 2018-05-03 19:53:43 +08:00
rockchip_bus.c PM / devfreq: rockchip_bus: support soc bus devfreq. 2018-05-03 19:53:43 +08:00
rockchip_dmc.c PM / devfreq: rockchip_dmc: Fix deadlock between dmcfreq and vop on/off 2018-05-17 11:43:55 +08:00
tegra-devfreq.c PM / devfreq: tegra: Update governor to use devfreq_update_stats() 2015-09-11 14:23:30 +09:00