]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/imx: ipuv3-plane: support underlay plane
authorMichael Tretter <m.tretter@pengutronix.de>
Thu, 19 Feb 2026 11:32:58 +0000 (12:32 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 13 Mar 2026 15:27:06 +0000 (16:27 +0100)
commitecbcceea4767dc11881986cb41a9962cac6f6c39
tree83dc7cc27e1488082a25daff0e366bfa371b3b67
parenta872e90e3668f9f8d0bc9c2fae3c328835b98bf0
drm/imx: ipuv3-plane: support underlay plane

The IPUv3 overlay plane may be placed over or under the primary plane.

Set the zpos of the primary to an immutable position of 1 to have the
possibility to place the other plane underneath it.

Set the zpos of other planes (the overlay plane) to a mutable value
between 0 (the lowest possible value of a zpos) and directly above the
primary plane with the latter being the default.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://patch.msgid.link/20260219-drm-imx-underlay-plane-v2-2-26ef829c5483@pengutronix.de
drivers/gpu/drm/imx/ipuv3/ipuv3-plane.c