瀏覽代碼

drm/exynos: Remove exynos_plane_dpms() call with no effect

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 <gustavo.padovan@collabora.co.uk>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Gustavo Padovan 10 年之前
父節點
當前提交
30b39f0488
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/gpu/drm/exynos/exynos_drm_crtc.c

+ 0 - 2
drivers/gpu/drm/exynos/exynos_drm_crtc.c

@@ -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