drm_plane_cr...ble_property(9)
π drm_plane_create_zpos_immutable_property β the Kernel API Manual tea π«
okay so bestie, we're in the <pink>./drivers/gpu/drm</pink> section of the Kernel API Manual (October 2026 edition, iconic), and today's main character is drm_plane_create_zpos_immutable_property. yes the name is a whole mouthful, no I will not be shortening it, periodt. β¨
πΈ NAME πΈ
drm_plane_create_zpos_immutable_property β create immuttable zpos property π
not me pointing out that the original literally spells it "immuttable" β that's canon, we keep it, iykyk π
π SYNOPSIS π
int drm_plane_create_zpos_immutable_property (struct drm_plane *plane ,
unsigned int zpos );
π¦ ARGUMENTS π¦
planeβ drm plane. the plane in question, the literal subject of the whole function, she's that girl π«Άzposβ value of zpos property. like, the actual number you're setting it to π₯
π DESCRIPTION π
okay so what does this function actually do? it initializes the generic immutable zpos property and enables support for it in drm core. that's the whole vibe check β
using this property driver lets userspace get the arrangement of the planes for blending operation, and it also notifies userspace that the hardware (or driver) does not support changing of the planes' order. read that again β immutable, bestie, no take-backsies, the order is locked in π
if you're out here wanting a mutable zpos instead, go see drm_plane_create_zpos_property. that one's the flexible sibling π
the property exposed to userspace is called "zpos". that's it. that's the name. slay β¨
β RETURN β
- Zero on success π
- negative errno on failure π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/drm_blend.c overview(9)drm_plane_create_alpha_property(9)drm_plane_create_rotation_property(9)drm_rotation_simplify(9)drm_plane_create_zpos_property(9)drm_atomic_normalize_zpos(9)drm_plane_create_blend_mode_property(9)drm_crtc_attach_background_color_property(9)
like, go read them, they're all literally right there, the whole friend group π
that's the whole page bestie!! this one came from the ./drivers/gpu/drm section, dated October 2026 β mwah, love u, go read the kernel docs ππ§ββοΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms