drm/exynos: g2d: move PM management to runqueue worker
authorTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Tue, 27 Sep 2016 15:50:07 +0000 (17:50 +0200)
committerInki Dae <daeinki@gmail.com>
Fri, 30 Sep 2016 15:39:39 +0000 (00:39 +0900)
commit22d6704dd4bf2c80b3850b8f7ff05a67f626fa53
tree56f52fe39a9cc1f27764a1a8072f9b282f1a5cf5
parent05e2e4666c2609bd9a72140611713c19ce28fce1
drm/exynos: g2d: move PM management to runqueue worker

Do all pm_runtime_{get,put}() calls in the runqueue worker.
Also keep track of the engine's idle/busy state.

Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_g2d.c