OUTPUT PROBING HELPER OVERVIEW(9)
β¨ output probing helper overview β¨
okay bestie, welcome to the Kernel API Manual entry for the output probing helper overview β this is the lil library that does the behind-the-scenes glow-up for output probing, and it's genuinely so useful π
So here's the tea π΅ β this library hands you some helper code for output probing. Specifically, it gives you an implementation of the core drm_connector_funcs.fill_modes interface, partnering it up with drm_helper_probe_single_connector_modes. iconic behavior, no cap.
It also comes through with support for polling connectors using a work item, plus generic hotplug interrupt handling for when the driver doesn't β or straight up cannot β keep track of a per-connector hpd interrupt. like, we've all been there π«Ά
The best part? This helper library can be used independently of the modeset helper library. and drivers can also overwrite different parts β for example, using their own hotplug handling code so they avoid probing unrelated outputs. main character customization energy fr fr πΈ
Also important: the probe helpers share the function table structures with other display helper libraries. peek at struct drm_connector_helper_funcs for all the deets π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/drm_probe_helper.c β go read it, it's giving source of truth π
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_disable(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 whole vibe check, bestie π¦ this page lives in ./drivers/gpu/drm, dated October 2026, and it's from the Kernel API Manual β mwah, slay, periodt ππ
π¦ 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