]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: Fix suspend/resume support
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 14 Sep 2017 12:01:01 +0000 (14:01 +0200)
committerInki Dae <inki.dae@samsung.com>
Tue, 19 Sep 2017 10:50:44 +0000 (19:50 +0900)
commit6e8edf8a7d8d98e1734ff41e5c69439419319402
tree7834cee31827d42a0619003666907ca1c2878406
parent5baf6bb0fd2388742a0846cc7bcacee6dec78235
drm/exynos: Fix suspend/resume support

Commit 7d902c05b480 ("drm: Nuke drm_atomic_helper_connector_dpms")
removed drm_atomic_helper_connector_dpms() helper saying that it was a dead
code. It was however indirectly used by Exynos DRM driver for implementing
suspend/resume support. To fix this regression (after that patch Exynos DRM
suspend/resume functions became no-ops and hardware fails to suspend),
this patch rewrites them with drm_atomic_helper_suspend/resume() helpers.

Fixes: 7d902c05b480 ("drm: Nuke drm_atomic_helper_connector_dpms")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_drv.c
drivers/gpu/drm/exynos/exynos_drm_drv.h
drivers/gpu/drm/exynos/exynos_drm_fbdev.c
drivers/gpu/drm/exynos/exynos_drm_fbdev.h