summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/exynos/regs-mixer.h
diff options
context:
space:
mode:
authorRahul Sharma <rahul.sharma@samsung.com>2014-06-23 09:32:22 +0400
committerInki Dae <inki.dae@samsung.com>2014-06-24 06:27:29 +0400
commit381be025ac1a6dc8efebdf146ced0d4a6007f77b (patch)
tree150f79da232b96288c6db14bb195c1b925f195d1 /drivers/gpu/drm/exynos/regs-mixer.h
parentb4bfa3c7d0a464a468615e4c6e06b92387115a04 (diff)
downloadlinux-381be025ac1a6dc8efebdf146ced0d4a6007f77b.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/exynos/regs-mixer.h')
-rw-r--r--drivers/gpu/drm/exynos/regs-mixer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/regs-mixer.h b/drivers/gpu/drm/exynos/regs-mixer.h
index 4537026bc385..5f32e1a29411 100644
--- a/drivers/gpu/drm/exynos/regs-mixer.h
+++ b/drivers/gpu/drm/exynos/regs-mixer.h
@@ -78,6 +78,7 @@
#define MXR_STATUS_BIG_ENDIAN (1 << 3)
#define MXR_STATUS_ENDIAN_MASK (1 << 3)
#define MXR_STATUS_SYNC_ENABLE (1 << 2)
+#define MXR_STATUS_REG_IDLE (1 << 1)
#define MXR_STATUS_REG_RUN (1 << 0)
/* bits for MXR_CFG */