drm_bridge_detect(9)
π drm_bridge_detect(9) β no like literally the Kernel API Manual bestie
okay so welcome to drm_bridge_detect(9), which is a page from the Kernel API Manual and it's basically asking one iconic little question: is anything actually plugged into this bridge's output or nah? π¦
β¨ NAME β¨
drm_bridge_detect β check if anything is attached to the bridge output
π SYNOPSIS π
enum drm_connector_status drm_bridge_detect (struct drm_bridge *bridge ,
struct drm_connector *connector );
πΈ ARGUMENTS πΈ
bridgeβ the bridge control structure, she's the main character here πconnectorβ the attached connector, tagging along for the ride
π DESCRIPTION π
So here's the vibe check π: if the bridge supports output detection β like, as reported by the DRM_BRIDGE_OP_DETECT bridge ops flag β then it calls drm_bridge_funcs.detect for the bridge and hands you back the connection status. Slay. β¨
Otherwise it just returns connector_status_unknown. That's it, that's the whole tea. π«Ά
β RETURN β
The detection status on success π« β or connector_status_unknown if the bridge doesn't support output detection at all (ngl, sometimes that's just how it is π).
π SEE ALSO π
okay bestie, buckle up, this list is long and honestly kind of iconic π₯ β go read all of these:
- Kernel file
./drivers/gpu/drm/drm_bridge.c overview(9)display driver integration(9)special care dsi(9)dsi bridge operations(9)bridge chain format selection(9)drm_bridge_enter(9)drm_bridge_exit(9)drm_bridge_unplug(9)drm_bridge_get(9)drm_bridge_put(9)drm_bridge_clear_and_put(9)drm_bridge_put_void(9)drm_bridge_add(9)devm_drm_bridge_add(9)drm_bridge_remove(9)drm_bridge_attach(9)bridge operations(9)drm_bridge_chain_mode_valid(9)drm_bridge_chain_mode_set(9)drm_atomic_bridge_chain_disable(9)drm_atomic_bridge_chain_post_disable(9)drm_atomic_bridge_chain_pre_enable(9)drm_atomic_bridge_chain_enable(9)drm_atomic_bridge_chain_check(9)drm_bridge_get_modes(9)drm_bridge_edid_read(9)drm_bridge_hpd_enable(9)drm_bridge_hpd_disable(9)drm_bridge_hpd_notify(9)of_drm_find_and_get_bridge(9)of_drm_find_bridge(9)of_drm_get_bridge_by_endpoint(9)devm_drm_put_bridge(9)
fr fr, that's a lot of cross-references. drink some water before you click through them all π§
and that's the page babes π
this little gem lives over in ./drivers/gpu/drm, it's dated October 2026, and it's literally called drm_bridge_detect(9) β go off, king πβ¨π
π¦ 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