drm_kms_help...l_reschedule(9)
β¨ drm_kms_helper_poll_reschedule β¨
okay so this is a page from the Kernel API Manual (drm_kms_helper_poll_reschedule(9)) and honestly? it's giving "small helper function, big responsibilities." let's get into it bestie π
πΈ NAME πΈ
drm_kms_helper_poll_reschedule β reschedule the output polling work π
π¦ SYNOPSIS π¦
void drm_kms_helper_poll_reschedule (struct drm_device *dev );
π ARGUMENTS π
devβ adrm_device, that's it, that's the whole argument list, iconic behavior fr fr π
π DESCRIPTION π
So here's the tea β: this function reschedules the output polling work, and it does that after polling for a connector has been enabled. like, the enabling happens first, then you reschedule. order matters, no cap.
Drivers must call this helper after enabling polling for a connector by setting the DRM_CONNECTOR_POLL_CONNECT / DRM_CONNECTOR_POLL_DISCONNECT flags in drm_connector::polled. yes, both flags, exactly those names, write them down π
and here's the lil plot twist π«Ά β if you disable polling by clearing those same flags for a connector, the output polling work will stop automatically if polling is disabled for all the other connectors too. so it's not just you turning it off, it's the whole friend group agreeing π
β οΈ timing warning bestie: this function can be called only after polling has been enabled by callingdrm_kms_helper_poll_init/drm_kms_helper_poll_enable. call it too early and that's on you π
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/drm_probe_helper.cβ the output probing helperoverview(9), the whole lore π§ drm_kms_helper_poll_enable(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)drmm_kms_helper_poll_init(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, that's a whole syllabus, but every single one is linked for a reason π
and that's the whole page!! short, sweet, and fully booked πβ¨ this one lives over in ./drivers/gpu/drm, dated October 2026, and the header/footer will keep whispering drm_kms_helper_poll_reschedule(9) at you forever. stay polling, bestie πΈπ«Ά
π¦ 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