drm_bridge_unplug(9)
π drm_bridge_unplug(9) β the kernel API manual, but make it make sense π
okay so bestie, welcome to drm_bridge_unplug(9) β yes that's the function name and the manual page name, we contain multitudes β¨. This one lives in the Kernel API Manual and it's honestly kind of a big deal, so grab your iced coffee and let's get into it π§
π¦ NAME π¦
drm_bridge_unplug β this is the one that declares a DRM bridge was unplugged, and then removes it. like, both things. she does both. π
β¨ SYNOPSIS β¨
void drm_bridge_unplug (struct drm_bridge *bridge );
that's it. that's the whole vibe. void return, one arg, no drama πΈ
π ARGUMENTS π
bridgeβ the DRM bridge in question. your main character struct π«Ά
π DESCRIPTION π
okay so here's the tea β β this tells everyone that the bridge has been physically unplugged, and once that's happened, no operations on device resources must be done anymore. like, the party's over, the lights are on, nobody's touching the device resources, periodt π
the good news? entry-points can use drm_bridge_enter and drm_bridge_exit to protect device resources in a race free manner β so it's giving responsible, it's giving protected, it's giving i-handled-my-locking πβ¨
and also β it unregisters the bridge. two jobs, one function, icon behaviour fr fr π
π SEE ALSO π
okay this list is long long, but every single one of these is important, so we're listing them all, no skips, no cap π
- the overview, in the Kernel file
./drivers/gpu/drm/drm_bridge.cβ literally the whole mood of the file π§ 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_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_detect(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)
seriously, go read them. iykyk ππ
a little note bestie π«Ά β once this is called, the bridge is unplugged, okay? don't go touching device resources after that. that's the whole point. protect them withdrm_bridge_enteranddrm_bridge_exitand you'll be fine β¨
and that's the page!! this one comes from ./drivers/gpu/drm (the kernel tree, you know the one π³), dated October 2026, and it's the drm_bridge_unplug(9) manual page β slay, go unplug 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