DRM database property: zpos

Back to index

Details

Name
zpos
Flags
immutable
Type
range
Attached to
plane
Specification
[0, 255]

Documentation

Z position is set up with drm_plane_create_zpos_immutable_property() and
drm_plane_create_zpos_property(). It controls the visibility of overlapping
planes. Without this property the primary plane is always below the cursor
plane, and ordering between all other planes is undefined. The positive
Z axis points towards the user, i.e. planes with lower Z position values
are underneath planes with higher Z position values. Two planes with the
same Z position value have undefined ordering. Note that the Z position
value can also be immutable, to inform userspace about the hard-coded
stacking of planes, see drm_plane_create_zpos_immutable_property(). If
any plane has a zpos property (either mutable or immutable), then all
planes shall have a zpos property.

Driver support

✗ adp
✓ amdgpu
✓ apple
✗ ast
✗ bochs-drm
✗ drm-rp1-dsi
✗ evdi
✓ exynos
✗ gma500
✓ i915
✓ imx-dcss
✓ imx-drm
✗ imx-lcdif
✗ jmgpu
✗ kirin
✓ mediatek
✓ meson
✗ mga2
✗ mgag200
✓ msm
✓ msm_drm
✗ mxsfb-drm
✓ nouveau
✗ nvidia-drm
✓ omapdrm
✗ panel-mipi-dbi
✗ pvr
✗ qxl
✗ radeon
✓ rcar-du
✓ rockchip
✓ rvdisplay
✗ simpledrm
✗ smifb
✓ spacemit
✓ starfive
✓ stm
✓ sun4i-drm
✓ sunxi-drm
✓ tegra
✗ tilcdc
✗ v3d
✗ vboxvideo
✓ vc4
✗ virtio_gpu
✗ vivante
✗ vkms
✗ vmwgfx
✓ vs-drm
✓ xe
✗ xlnx