drm/exynos: Disable unused crtc planes from crtc
authorSean Paul <seanpaul@chromium.org>
Thu, 30 Jan 2014 21:19:17 +0000 (16:19 -0500)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:47:34 +0000 (11:47 +0900)
commit5d2778a1536d7300eec03e97d824a3a74ccab9c2
tree0609589d1f342e6d9d70788788b3fe1bb06deeda
parent134638a5aeb743bc2697cacf25d28526495b9e45
drm/exynos: Disable unused crtc planes from crtc

This patch moves the code which disables unused crtc planes from the
encoder to the crtc. Since there is a 1:1 encoder/crtc mapping in
exynos, the only valid crtc change the pre-existing code could catch is
disconnecting an active crtc from the encoder. Thus it is functionally
equivalent to just disable all planes attached to a crtc when the crtc
is disabled.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_crtc.c
drivers/gpu/drm/exynos/exynos_drm_encoder.c