drm_helper_...ed_functions(9)
β¨ NAME β¨
okay so this is the drm_helper_...ed_functions(9) page from the Kernel API Manual, and the function we're hyping up is drm_helper_disable_unused_functions β its whole thing is disable unused objects. that's the name, that's the game. π
πΈ SYNOPSIS πΈ
void drm_helper_disable_unused_functions (struct drm_device *dev );
π ARGUMENTS π
devβ the DRM device. that's it, that's the whole argument list, and honestly? iconic. π
β¨ DESCRIPTION β¨
okay so picture this: drm_helper_disable_unused_functions literally walks through the entire mode setting configuration of dev. it removes any CRTC links of unused encoders, and it removes encoder links of disconnected connectors. then it disables all unused encoders and CRTCs β either by calling their disable callback if available, or by calling their dpms callback with DRM_MODE_DPMS_OFF. cleanup era fr fr. π§Ήβ¨
π NOTE π
this function is part of the legacy modeset helper library, and it will cause major confusion with atomic drivers. why? because atomic helpers guarantee to never call->disablehooks on a disabled function, or->enablehooks on an enabled functions.drm_helper_disable_unused_functionson the other hand throws such guarantees into the wind and calls disable hooks unconditionally on unused functions. not me being dramatic β that's literally the note, bestie. ππ
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/drm_crtc_helper.coverview(9) drm_helper_encoder_in_use(9)drm_helper_crtc_in_use(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)drm_helper_force_disable_all(9)
made with love from ./drivers/gpu/drm, dated October 2026 β that's the source/version + date sign-off, 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