drm_atomic_plane_check(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

drm_atomic_plane_check β€” check plane state. This is the drm_atomic_plane_check(9) page from the Kernel API Manual, and it's literally here to check plane state, bestie πŸ’…βœ¨

✨ SYNOPSIS ✨

int drm_atomic_plane_check (const struct drm_plane_state
*old_plane_state , const struct drm_plane_state *new_plane_state );

πŸŽ€ ARGUMENTS πŸŽ€

  • old_plane_state β€” old plane state to check. It's the before pic of the plane state, and yes, we're checking it 🫢
  • new_plane_state β€” new plane state to check. The new plane state, ready for its check-up ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this one provides core sanity checks for plane state. That's the whole plot: core sanity checks, plane state, no cap. It's giving "is this state okay?" energy, and that's iconic πŸ’–

πŸ”₯ RETURN πŸ”₯

0 on success β€” slay. On failure, you get an error code. So: zero on success, error code on failure, periodt πŸ’…

🌈 SEE ALSO 🌈

Go peek at these besties, fr fr πŸ‘€:


Footer tea β˜•: source path ./drivers/gpu/drm, dated October 2026, and this is the drm_atomic_plane_check(9) manual page. Bye bestie πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from