drm_crtc_hel...atomic_check(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_crtc_hel...atomic_check(9) β€” Kernel API Manual

okay bestie, welcome to the group chat πŸ’– so this whole thing is a page from the Kernel API Manual, and today's main character is drm_crtc_hel...atomic_check(9). yes that's the truncated name, that's just how it's written in the header, no cap β€” the full function is the one in NAME below. let's get into it ✨


🌸 NAME 🌸

drm_crtc_helper_atomic_check β€” a helper that checks the CRTC atomic-state πŸŽ€

like, it's literally the vibe-checker for your CRTC's atomic state. obsessed.


πŸ¦‹ SYNOPSIS πŸ¦‹

int drm_crtc_helper_atomic_check (struct drm_crtc *crtc , struct
       drm_atomic_commit *state );

here's the signature, character for character, don't come for me πŸ’…


✨ ARGUMENTS ✨

  • crtc β€” the CRTC you're checking. that's the thing under inspection, bestie πŸ‘‘
  • state β€” the atomic state object. the state, the vibes, the whole situation 🫢

🌈 DESCRIPTION 🌈

okay so this function provides a default CRTC-state check handler for CRTCs that only have one primary plane attached to them. literally just the one. nothing else.

and this situation β€” a single primary plane, no extra friends β€” is often the case for the CRTC of simple framebuffers. so if that's your setup, this helper is your girl 🧚


πŸ”₯ RETURN πŸ”₯

Zero on success ✨ β€” or an errno code otherwise πŸ’€ (so like, check it, don't just assume it slayed).


πŸ‘‘ SEE ALSO πŸ‘‘

the required reading, iykyk:

all of these, in exactly this order, at exactly these names β€” go read them, they ate πŸ”₯


side note from your girl: keep the names and paths EXACTLY as written. renaming things in kernel land is not the move, fr fr πŸ™ˆ

mwah, that's the whole page πŸŽ€ this one lives under ./drivers/gpu/drm and the footer clocks it at October 2026, so mark your calendar bestie πŸ¦‹ β€” same manual, same date, no edits, periodt. πŸ’œ

πŸ“¦ where this page comes from