drm_kms_helper_poll_disable(9)
π drm_kms_helper_poll_disable(9) β the Kernel API Manual era
okay bestie, so this one lives in the Kernel API Manual and it's called drm_kms_helper_poll_disable β say that five times fast, I dare you π«Ά
β¨ NAME β¨
drm_kms_helper_poll_disable β literally just disable output polling, that's the whole vibe π
πΈ SYNOPSIS πΈ
void drm_kms_helper_poll_disable (struct drm_device *dev );
π¦ ARGUMENTS π¦
devβ adrm_device. that's it, that's the argument π
π₯ DESCRIPTION π₯
So this function disables the output polling work. no cap, that's the entire job β¨
Drivers can call this helper from their device suspend implementation β like, it's made for that moment, iykyk. And here's the gorgeous part: it is not an error to call this even when output polling isn't enabled or is already disabled. she's unbothered, she's chill, she does not care ππ
Polling gets re-enabled by calling drm_kms_helper_poll_enable. reciprocal queen behavior π
β οΈ But bestie, listen β if the polling was never initialized, this call will trigger a warning and return. not a crash, but she will make a scene π
Also note: calls to enable and disable polling must be strictly ordered. Which is automatically the case when they're only called from suspend/resume callbacks β so like, stay in your lane and you're fine fr fr π
π SEE ALSO π
the whole friend group, honestly β go say hi π
- Kernel file
./drivers/gpu/drm/drm_probe_helper.coutput 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_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)
and that's the page, bestie!! π this little icon was brought to you by ./drivers/gpu/drm, dated October 2026 β go drink some water and order your enable/disable calls properly π§πΈβ
π¦ 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