summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorGustavo Padovan2015-02-05 08:11:35 +0100
committerInki Dae2015-02-09 15:56:22 +0100
commit30b39f0488eb114b3523de7a6579ef8ff2c40a6e (patch)
treeff3fc3469111873ce90e817b400b3e8eeee9c4a8 /drivers/gpu/drm
parentdrm/exynos: fix DMA_ATTR_NO_KERNEL_MAPPING usage (diff)
downloadkernel-qcow2-linux-30b39f0488eb114b3523de7a6579ef8ff2c40a6e.tar.gz
kernel-qcow2-linux-30b39f0488eb114b3523de7a6579ef8ff2c40a6e.tar.xz
kernel-qcow2-linux-30b39f0488eb114b3523de7a6579ef8ff2c40a6e.zip
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>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_crtc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_crtc.c b/drivers/gpu/drm/exynos/exynos_drm_crtc.c
index a85c451ba392..fff2e5545846 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_crtc.c
+++ b/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