pm_runtime_use_autosuspend(9)
π pm_runtime_use_autosuspend(9) π
okay so this lil icon is straight out of the Kernel API Manual, and it is literally the βyes bestie, autosuspend is allowedβ switch for a device. letβs go β¨
πΈ NAME πΈ
pm_runtime_use_autosuspend β Allow autosuspend to be used for a device. periodt π
π¦ SYNOPSIS π¦
void pm_runtime_use_autosuspend (struct device *dev );
π ARGUMENTS π
devβ Target device. thatβs the one this whole autosuspend moment is for π
π« DESCRIPTION π«
okay so this function allows the runtime PM autosuspend mechanism to be used for dev whenever requested. if it isnβt allowed, βautosuspendβ will be handled as direct runtime-suspend for it. no cap, thatβs the whole vibe π«Ά
β οΈ NOTE β οΈ
bestie, it is important to undo this withpm_runtime_dont_use_autosuspendat driver exit time β unless your driver initially enabledpm_runtimewithdevm_pm_runtime_enable(which handles it for you). do not leave this hanging, fr fr π
π SEE ALSO π
the kernel file is ./include/linux/pm_runtime.h, and the whole squad is:
pm_suspend_ignore_children(9)pm_runtime_get_noresume(9)pm_runtime_put_noidle(9)pm_runtime_suspended(9)pm_runtime_active(9)pm_runtime_status_suspended(9)pm_runtime_enabled(9)pm_runtime_blocked(9)pm_runtime_has_no_callbacks(9)pm_runtime_mark_last_busy(9)pm_runtime_is_irq_safe(9)pm_runtime_idle(9)pm_runtime_suspend(9)pm_runtime_autosuspend(9)pm_runtime_resume(9)pm_request_idle(9)pm_request_resume(9)pm_request_autosuspend(9)pm_runtime_get(9)pm_runtime_get_sync(9)pm_runtime_resume_and_get(9)pm_runtime_put(9)__pm_runtime_put_autosuspend(9)pm_runtime_put_autosuspend(9)pm_runtime_put_sync(9)pm_runtime_put_sync_suspend(9)pm_runtime_put_sync_autosuspend(9)pm_runtime_set_active(9)pm_runtime_set_suspended(9)pm_runtime_disable(9)pm_runtime_dont_use_autosuspend(9)
okay thatβs a wrap, bestie π source/version check: ./include/linux; date check: October 2026. slay and stay suspended 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