drm/exynos: fimd: fix window clear code
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 1 Sep 2014 13:27:10 +0000 (22:27 +0900)
committerInki Dae <daeinki@gmail.com>
Fri, 19 Sep 2014 15:56:09 +0000 (00:56 +0900)
commiteb8a3bf73ecd894597dad2ded9aca43b53db167d
tree001dbc1cd162cb8d4f02646d6903b0c546701000
parent71b1f1956b4466b47551e73d4dd2145df4241eb8
drm/exynos: fimd: fix window clear code

To correctly disable hardware window during driver init, both enable bits
(WINCONx_ENWIN in WINCON and SHADOWCON_CHx_ENABLE in SHADOWCON) must be
cleared, otherwise hardware fails to re-enable such window later.

While touching this function, also temporarily disable ctx->suspended flag
to let fimd_wait_for_vblank function really to do its job.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fimd.c