]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sti: fix dynamic z-ordering
authorVincent Abriou <vincent.abriou@st.com>
Fri, 31 Jul 2015 09:31:38 +0000 (11:31 +0200)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Mon, 3 Aug 2015 12:24:54 +0000 (14:24 +0200)
commita12e134730d6a636c4e75e8e8961a090363ca76e
treeeff43087da5209e28f416d586a358732c56f04f4
parentf220c6891e6996459781d10342176cef6de63fe0
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>
drivers/gpu/drm/sti/sti_drm_plane.c
drivers/gpu/drm/sti/sti_mixer.c
drivers/gpu/drm/sti/sti_mixer.h