drm/exynos: stop mixer before gating clocks during poweroff
authorRahul Sharma <rahul.sharma@samsung.com>
Mon, 23 Jun 2014 05:32:22 +0000 (11:02 +0530)
committerInki Dae <inki.dae@samsung.com>
Tue, 24 Jun 2014 02:27:29 +0000 (11:27 +0900)
commit381be025ac1a6dc8efebdf146ced0d4a6007f77b
tree150f79da232b96288c6db14bb195c1b925f195d1
parentb4bfa3c7d0a464a468615e4c6e06b92387115a04
drm/exynos: stop mixer before gating clocks during poweroff

Mixer should be power gated only after it is gracefully stopped.
The recommended sequence is to Stop the mixer and wait till
it enters to IDLE state before gating the clocks and power to
the mixer.

Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_mixer.c
drivers/gpu/drm/exynos/regs-mixer.h