]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: backend: Add support for zpos
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 1 May 2017 08:52:32 +0000 (10:52 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 29 Jan 2018 13:02:40 +0000 (14:02 +0100)
commit41a6e2cfcb96478d92c91582e6ac5b188d8cf5bd
tree11a28ec6a5b1a1fc7b18ebd9b90a32b75fb2f093
parent27c0a862050fe9c760ab9af8ae0f5e42535b2066
drm/sun4i: backend: Add support for zpos

Our various planes have a configurable zpos, that combined with the pipes
allow to configure the composition.

Since the interaction between the pipes, zpos and alphas framebuffers is
not trivial, let's just enable the zpos as an immutable property for now,
and use that zpos in our atomic_update part.

Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: https://patchwork.freedesktop.org/patch/msgid/b006853e908bd06661c5bc1f2191121523bce0e4.1516617243.git-series.maxime.ripard@free-electrons.com
drivers/gpu/drm/sun4i/sun4i_backend.c
drivers/gpu/drm/sun4i/sun4i_backend.h
drivers/gpu/drm/sun4i/sun4i_framebuffer.c
drivers/gpu/drm/sun4i/sun4i_layer.c