drm_plane_c...pha_property(9)
π drm_plane_create_alpha_property(9) β the Kernel API Manual glow-up
okay so bestie, welcome to the drm_plane_c...pha_property(9) page from the Kernel API Manual β¨ this is the one that teaches you how to make a plane go from see-through to fully booked and opaque, and honestly? iconic behaviour.
β¨ NAME β¨
drm_plane_create_alpha_property β create a new alpha property π«Ά
πΈ SYNOPSIS πΈ
int drm_plane_create_alpha_property (struct drm_plane *plane );
π ARGUMENTS π
planeβ the drm plane in question, your main character fr fr
π¦ DESCRIPTION π¦
So here's the vibe: this function creates a generic, mutable, alpha property and turns on support for it inside the DRM core. It gets attached to plane. That's it, that's the whole serve. π
And the range? The alpha property is allowed to be anywhere within the bounds of 0 (which is transparent, aka ghost mode π») all the way up to 0xffff (which is opaque, aka fully there, no notes π₯). No cap.
π RETURN π
0on success β slay β- a negative error code on failure β not slay π
β SEE ALSO β
overview(9)β in the kernel file./drivers/gpu/drm/drm_blend.cdrm_plane_create_rotation_property(9)drm_rotation_simplify(9)drm_plane_create_zpos_property(9)drm_plane_create_zpos_immutable_property(9)drm_atomic_normalize_zpos(9)drm_plane_create_blend_mode_property(9)drm_crtc_attach_background_color_property(9)
go read all of them, iykyk π§π
okay that's the whole page bestie, hope the vibe check passed π this came to you from ./drivers/gpu/drm and it's dated October 2026, so mark your calendar and stan the DRM core, periodt πβ¨π¦
π¦ 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