drm_crtc_helper_add(9)
π drm_crtc_helper_add(9) π
okay so bestie, welcome to the Kernel API Manual β yes that's the manual name, and yes we're thriving in it. this page is genuinely one of the short ones, so grab your lil iced coffee and let's go π
β¨ NAME β¨
drm_crtc_helper_add β sets the helper vtable for a crtc
periodt. that's the whole job. it sets the helper vtable. for a crtc. no cap π
πΈ SYNOPSIS πΈ
void drm_crtc_helper_add (struct drm_crtc *crtc , const struct
drm_crtc_helper_funcs *funcs );
literally that's it, that's the function signature, the way it's just void and then two pointers and we're done π iconic
π ARGUMENTS π
crtcβ DRM CRTC π. like, the CRTC. the actual one. the main character. you're handing it over and it's gonna get the helper vtable, iykyk.funcsβ helper vtable to set forcrtcβ¨. this is the vtable, bestie. the helper one. the one you're setting. for the crtc. we been knew.
ngl there is no hidden fourth thing here. two args. crtc, funcs. go off π«Ά
π SEE ALSO π
like, if you're nosy (respectfully) and you wanna go read the whole lore, here's the reading list π§:
- Kernel file
./include/drm/drm_modeset_helper_vtables.hoverview(9) struct drm_crtc_helper_funcs(9)struct drm_encoder_helper_funcs(9)drm_encoder_helper_add(9)struct drm_connector_helper_funcs(9)drm_connector_helper_add(9)struct drm_plane_helper_funcs(9)drm_plane_helper_add(9)struct drm_mode_config_helper_funcs(9)
the way there's a whole helper family and crtc is just one of them π crtc, encoder, connector, plane, mode config β a whole friend group, and every single one of them has an *_helper_add. slay, honestly π
and that's the page, bestie!! π¦ this lil gem lives over in ./include/drm, it's stamped October 2026, and it rolled in under the Kernel API Manual banner. mwah, go set a vtable, you got this ππ
π¦ 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