drm_crtc_hel...atomic_check(9)
π 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:
- Kernel file
./drivers/gpu/drm/drm_crtc_helper.cβoverview(9) drm_helper_encoder_in_use(9)drm_helper_crtc_in_use(9)drm_helper_disable_unused_functions(9)drm_crtc_helper_set_mode(9)drm_crtc_helper_set_config(9)drm_helper_connector_dpms(9)drm_helper_resume_force_mode(9)drm_helper_force_disable_all(9)
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
- 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