drm_helper_probe_detect(9)
π drm_helper_probe_detect(9) π
okay so this is a page from the Kernel API Manual, and bestie, we're talking about drm_helper_probe_detect β the little function whose whole entire job is probe connector status. that's it. that's the name. slay. β¨
β¨ SYNOPSIS β¨
int drm_helper_probe_detect (struct drm_connector *connector , struct
drm_modeset_acquire_ctx *ctx , bool force );
literally the whole signature, no notes, copy it exactly please π«Ά
π ARGUMENTS π
connectorβ the connector you wanna probe. that's the one. the main character. πctxβ an acquire_ctx, orNULLto let this function handle the locking all by itself. yes, it can do that. independent queen behavior. πforceβ whether destructive probe operations should be performed. like, actually destructive. think before you set this one, ok? π
π¦ DESCRIPTION π¦
so what does it do? it calls the detect callbacks of the connector. that's the vibe check on your connector status. β¨
and what does it give you back? it returns drm_connector_status β or, and this is the important part, if ctx is set, it might also return -EDEADLK. so like, watch out for that one. not every day is a drm_connector_status day. π
π SEE ALSO π
the whole friend group, in order, no cap:
- Kernel file
./drivers/gpu/drm/drm_probe_helper.coutput βprobing helper overview(9) drm_kms_helper_poll_enable(9)drm_kms_helper_poll_reschedule(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)
that's eighteen links bestie, i counted, and yes i'm obsessed with every single one π§
π little sign-off moment: this gem lives over in ./drivers/gpu/drm, and it's dated October 2026 β so it's giving future icon, lowkey. 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