drm/exynos: fix overlay updating issue
authorInki Dae <inki.dae@samsung.com>
Wed, 14 Nov 2012 11:41:35 +0000 (20:41 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 22 Nov 2012 08:55:17 +0000 (17:55 +0900)
commitffe9955a741a2742cc517245b2219b61cc6dde28
treee4ee58e77f4905bee12a040072902418909b3bcb
parenta39b49812fe0c3f62fd3f7f6ec8c10d8f7035992
drm/exynos: fix overlay updating issue

Chagelog v2:
Move encoder's dpms updating into exynos_drm_encoder_commit
function because when crtc's dpms is updated, encoder's dpms
is updated also. This would induce the issue that encoder
isn't disabled after crtc is disabled.

Changelog v1:
This patch fixes a issue that overlay data aren't applied
to real hardware when dpms off goes to on after setcrtc
was requested like below,
    dpms off -> setcrtc -> dpms off -> dpms on

For this, it makes encoder's dpms to be updated when
setcrtc is requested.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_encoder.c