drm_kms_helper_poll_disable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” a drm_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 πŸ‘‹


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