drm_helper_f..._disable_all(9)
π drm_helper_force_disable_all(9) β like, the Kernel API Manual page, bestie β¨
okay so this is a page from the Kernel API Manual, and the function's full name is drm_helper_force_disable_all(9) β yes the header line squishes it to drm_helper_f..._disable_all(9) but we're not gonna let that erasure slide π it's the whole name, periodt.
πΈ NAME πΈ
drm_helper_force_disable_all β forcibly turn off, like, all the enabled CRTCs. All of them. Not a vibe check, an actual force-off π«Ά
β¨ SYNOPSIS β¨
int drm_helper_force_disable_all (struct drm_device *dev );
π ARGUMENTS π
devβ the DRM device whose CRTCs you're about to turn off. That's it, that's the argument π
π¦ DESCRIPTION π¦
So here's the tea: drivers may want to call this on unload to make sure that all the displays are unlit and the GPU is chillin' in a consistent, low power state β¨ it's giving "lights off, everyone out" energy.
Also β and this matters β it takes modeset locks π so, yes, it's doing the responsible thing before it flips everything off.
π NOTE π
Ngl this should only be used by non-atomic legacy drivers π«£ like, if that's not you, babe, walk away.
Wanna know what the atomic version is? Look at drm_atomic_helper_shutdown. That's your main character, iykyk π
π RETURN π
Zero on success, error code on failure. Simple as that π (yes we love a binary outcome)
π SEE ALSO π
- the Kernel file
./drivers/gpu/drm/drm_crtc_helper.c overview(9)drm_helper_encoder_in_use(9)drm_helper_crtc_in_use(9)drm_helper_disable_unused_functions(9)drm_crtc_helper_set_mode(9)drm_crtc_helper_atomic_check(9)drm_crtc_helper_set_config(9)drm_helper_connector_dpms(9)drm_helper_resume_force_mode(9)
and that's the whole page, bestie π§ no cap, nothing skipped π
mwah β brought to you by ./drivers/gpu/drm, dated October 2026, and the letter drm_helper_f..._disable_all(9) π go forth and disable 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