summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/sti/sti_mixer.h
diff options
context:
space:
mode:
authorVincent Abriou <vincent.abriou@st.com>2015-07-31 12:31:38 +0300
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>2015-08-03 15:24:54 +0300
commitbf60b29f8e811c9593dcabaa4d25e412f9e10b73 (patch)
treeeff43087da5209e28f416d586a358732c56f04f4 /drivers/gpu/drm/sti/sti_mixer.h
parent53bdcf5f026c565e605ff4ced9178f85d48f69c5 (diff)
downloadlinux-bf60b29f8e811c9593dcabaa4d25e412f9e10b73.tar.xz
drm/sti: fix dynamic z-ordering
Apply the plane depth when the plane is updated. If the depth is different from the previous plane update, the register controlling the plane depth is cleaned and updated with the new depth. Signed-off-by: Vincent Abriou <vincent.abriou@st.com> Reviewed-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/sti/sti_mixer.h')
-rw-r--r--drivers/gpu/drm/sti/sti_mixer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sti/sti_mixer.h b/drivers/gpu/drm/sti/sti_mixer.h
index b97282182908..eb663f65f814 100644
--- a/drivers/gpu/drm/sti/sti_mixer.h
+++ b/drivers/gpu/drm/sti/sti_mixer.h
@@ -49,7 +49,7 @@ int sti_mixer_active_video_area(struct sti_mixer *mixer,
void sti_mixer_set_background_status(struct sti_mixer *mixer, bool enable);
/* depth in Cross-bar control = z order */
-#define GAM_MIXER_NB_DEPTH_LEVEL 7
+#define GAM_MIXER_NB_DEPTH_LEVEL 6
#define STI_MIXER_MAIN 0
#define STI_MIXER_AUX 1