]> git.baikalelectronics.ru Git - kernel.git/commit
drm/stm: ltdc: attach immutable zpos property to planes
authorRaphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Tue, 7 Sep 2021 15:13:23 +0000 (17:13 +0200)
committerPhilippe Cornu <philippe.cornu@foss.st.com>
Thu, 9 Sep 2021 12:54:59 +0000 (14:54 +0200)
commitf2997e6e747326d4b780edb7f9d7e6dda9493edb
tree5bfb1b96c5a861ca9d14480db4d31e4313ce988c
parent09279ae7dd9c5f7aeb71cab690c91be45a4e96de
drm/stm: ltdc: attach immutable zpos property to planes

Defines plane ordering by hard-coding an immutable Z position from the
first plane, used as primary layer, to the next ones as overlay in order
of instantiation.

This zpos is only an information as it is not possible to modify it,
blending operations are still applied from the top to the bottom layer.

This patch helps to remove a warning message from the Android
Hardware Composer.

Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Acked-by: Yannick Fertre <yannick.fertre@foss.st.com>
Reviewed-by: Yannick Fertre <yannick.fertre@foss.st.com>
Signed-off-by: Philippe Cornu <philippe.cornu@foss.st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210907151323.5850-1-raphael.gallais-pou@foss.st.com
drivers/gpu/drm/stm/ltdc.c