drm_atomic_plane_disabling(9)
π drm_atomic_plane_disabling β check whether a plane is being disabled
okay so bestie, this one is from the Kernel API Manual (section 9, the driver-functions girlies β¨) and it's genuinely such a handy little vibe check for your atomic plane state π¦
β¨ SYNOPSIS β¨
bool drm_atomic_plane_disabling (struct drm_plane_state *old_plane_state
, struct drm_plane_state *new_plane_state );
returns a bool, takes two plane states, that's it, that's the whole slay π
πΈ ARGUMENTS πΈ
old_plane_stateβ the old atomic plane state, aka the before pic πΈnew_plane_stateβ the new atomic plane state, aka the glow-up (or the downgrade, we don't judge π )
π DESCRIPTION π
so basically it checks the atomic state of a plane to figure out whether it's being disabled or not. that's the whole main character job, no cap π
and like β it also WARNs if it catches an invalid state, because the rules are the rules, periodt: both CRTC and FB need to either both be NULL or both be non-NULL. no mixing and matching, that's not the vibe π
β RETURN β
true if the plane is being disabled, false otherwise. genuinely that simple, iykyk π₯
π«Ά SEE ALSO π«Ά
- Kernel file
./include/drm/drm_atomic_helper.hβ go read it, it's giving required reading π 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_enabling(9)β the flip side of the coin bestie, obsessed π
okay bye ily, this page lives in ./include/drm, it's the October 2026 version, and it's drm_atomic_plane_disabling(9) in case you forgot already πβ¨ go disable some planes responsibly π
π¦ 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