drmm_kms_helper_poll_init(9)
π drmm_kms_helper_poll_init(9) β aka the Kernel API Manual page you're literally about to stan
okay so bestie, welcome to the glow-up edition of drmm_kms_helper_poll_init from the Kernel API Manual. yes that's a mouthful, no I will not be pronouncing it out loud, and yes it's giving "I memorized the DRM subsystem at 2am" energy. π§β¨
πΈ NAME πΈ
drmm_kms_helper_poll_init β initialize and enable output polling. that's it, that's the whole vibe. set it up, turn it on, let it do its thing. π
β¨ SYNOPSIS β¨
void drmm_kms_helper_poll_init (struct drm_device *dev );
one function, one pointer, zero drama. π«Ά
π ARGUMENTS π
devβ astruct drm_device. that's your whole argument list, she's lowkey minimalist and honestly? iconic.
π¦ DESCRIPTION π¦
so here's the tea β β this function initializes output polling support for dev and then also enables it, which is basically the two-step combo move. it works similar to drm_kms_helper_poll_init (note the extra m, bestie, they are not the same function, do not come for me π).
the actually best part? the polling gets automatically cleaned up when the DRM device goes away. no manual teardown, no "oops I forgot to free it" moment, the drmm_ prefix is literally the main character here doing the cleanup for you. periodt. π
if you want more info, go read up on drm_kms_helper_poll_init β that's where the real lore lives. π
π₯ SEE ALSO π₯
the whole friend group, in the order the manpage introduced them:
- the kernel file
./drivers/gpu/drm/drm_probe_helper.cβ output probing helper overview(9)drm_kms_helper_poll_enable(9)drm_kms_helper_poll_reschedule(9)drm_helper_probe_detect(9)drm_helper_probe_single_connector_modes(9)drm_kms_helper_hotplug_event(9)drm_kms_helper_connector_hotplug_event(9)drm_kms_helper_is_poll_worker(9)drm_kms_helper_poll_disable(9)drm_kms_helper_poll_init(9)drm_kms_helper_poll_fini(9)drm_connector_helper_hpd_irq_event(9)drm_helper_hpd_irq_event(9)drm_crtc_helper_mode_valid_fixed(9)drm_connector_helper_get_modes_fixed(9)drm_connector_helper_get_modes(9)drm_connector_helper_tv_get_modes(9)drm_connector_helper_detect_from_ddc(9)
like, say less, the whole squad showed up. πβ
ngl this one's short and sweet β the drmm_ prefix means you get managed cleanup for free, so don't go writing your own teardown code and then wondering why everything's on fire π
and that's a wrap, bestie! π this lil page lives in ./drivers/gpu/drm, it's dated October 2026, and it came to you courtesy of the Kernel API Manual β iykyk. go poll some outputs 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