drm_atomic_plane_enabling(9)
π drm_atomic_plane_enabling(9)
okay so bestie, welcome to the Kernel API Manual entry for drm_atomic_plane_enabling β this is a kernel function, not a command you type in your terminal, so no, you can't just run it, but you can absolutely understand it. let's go π«Ά
β¨ NAME β¨
drm_atomic_plane_enabling β check whether a plane is being enabled πΈ
like, literally just peeking at a plane and going "hey are you turning on or not" β that's the whole vibe check π₯
β¨ SYNOPSIS β¨
bool drm_atomic_plane_enabling (struct drm_plane_state *old_plane_state
, struct drm_plane_state *new_plane_state );
it takes two plane states and hands you back a bool β simple, iconic, no drama π
β¨ ARGUMENTS β¨
old_plane_stateβ the old atomic plane state, i.e. the "before" picture πnew_plane_stateβ the new atomic plane state, aka the "after" β what it wants to become β¨
ngl, it's just old vs new, side by side, and the function is judging the glow-up π
β¨ DESCRIPTION β¨
so what this does is it checks the atomic state of a plane to determine whether it's being enabled or not π
and yes, it alsoWARNs if it detects an invalid state β because both CRTC and FB need to either both beNULLor both be non-NULL. no mixing and matching, that's the rule, periodt π
so if one of them is NULL and the other isn't, that's a red flag π© and the kernel will absolutely let you know via a warning. it's giving "i'm not mad, i'm just disappointed" π
β¨ RETURN β¨
Trueβ the plane is being enabled, slay, it's turning on πfalseβ otherwise, it's not π
that's it, two outcomes, no in-between, very main character energy β
β¨ SEE ALSO β¨
the kernel file lives at ./include/drm/drm_atomic_helper.h π¦ β go check it out, iykyk
and while you're there, these are all the besties in the same friend group:
drm_atomic_crtc_for_each_plane(9)drm_atomic_crtc_state_for_each_plane(9)drm_atomic_crtc_state_for_each_plane_state(9)drm_atomic_plane_disabling(9)β the evil twin, the disabling one π
that's the whole page bestie, every flag, every warning, every reference β nothing left out, we ate and left no crumbs πβ¨
this gem came from ./include/drm, and it's dated October 2026 β note the version, screenshot it, put it on your mood board π
mwah, ily, go read more manpages ππ«Άπ
π¦ 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