drm/exynos: g2d: fix system and runtime pm integration
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 31 Aug 2016 12:55:57 +0000 (14:55 +0200)
committerInki Dae <daeinki@gmail.com>
Sun, 18 Sep 2016 13:20:39 +0000 (22:20 +0900)
commitb05984e21a7e000bf5074ace00d7a574944b2c16
tree5140cf66896e1a28c7dd7cbf179d99acfda049fb
parent5b67723e6096f5470f361656cd108430d3b12c67
drm/exynos: g2d: fix system and runtime pm integration

Move code from system sleep pm to runtime pm callbacks to ensure proper
driver state preservation when device is under power domain. Then, use
generic helpers for using runtime pm for system sleep pm.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_g2d.c