drm_plane_c...pha_property(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🌈

  • 0 on success β€” slay βœ…
  • a negative error code on failure β€” not slay 😭

⭐ SEE ALSO ⭐

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