drm/exynos: Remove exynos_plane_dpms() call with no effect
authorGustavo Padovan <[email protected]>
Thu, 5 Feb 2015 07:11:35 +0000 (16:11 +0900)
committerInki Dae <[email protected]>
Mon, 9 Feb 2015 14:56:22 +0000 (23:56 +0900)
exynos_plane_dpms(DRM_MODE_DPMS_ON) calls the win_enable()'s callback
from the underlying layer. However neither one of these layers implement
win_enable() - FIMD, Mixer and VIDI. Thus the call to exynos_plane_dpms()
is pointless.

Signed-off-by: Gustavo Padovan <[email protected]>
Acked-by: Daniel Vetter <[email protected]>
Signed-off-by: Inki Dae <[email protected]>
drivers/gpu/drm/exynos/exynos_drm_crtc.c

index a85c451ba3929fbc2f916886b968ccfb6e185ea0..fff2e5545846c2a102402b4f98609794617cd0d8 100644 (file)
@@ -66,8 +66,6 @@ static void exynos_drm_crtc_commit(struct drm_crtc *crtc)
 
        if (exynos_crtc->ops->commit)
                exynos_crtc->ops->commit(exynos_crtc);
-
-       exynos_plane_dpms(crtc->primary, DRM_MODE_DPMS_ON);
 }
 
 static bool