drmm_panel_bridge_add(9)
β¨ drmm_panel_bridge_add(9) β¨
okay so bestie, welcome to the drmm_panel_bridge_add(9) page from the Kernel API Manual π this one's short and sweet and lowkey iconic β it's the DRM-managed glow-up of a panel bridge, and honestly? she slays.
π NAME π
drmm_panel_bridge_add β creates a DRM-managed &drm_bridge and &drm_connector that just calls the appropriate functions from &drm_panel.
like, that's the whole vibe. a bridge and a connector that are basically just politely forwarding calls to the panel. no cap. π¦
πΈ SYNOPSIS πΈ
struct drm_bridge * drmm_panel_bridge_add (struct drm_device *drm ,
struct drm_panel *panel );
π ARGUMENTS π
drmβ the DRM device you're tying the bridge's lifetime to π«Ά she's the main character here, the bridge lives and dies with her.panelβ thedrm_panelbeing wrapped. Must be non-NULL. fr fr, do not pass NULL, that's not the move π
β DESCRIPTION β
So here's the tea: this is the DRM-managed version of drm_panel_bridge_add, and the way that it just automatically calls drm_panel_bridge_remove when dev is cleaned up? obsessed. π₯
You don't have to remember to tear it down yourself β cleanup is handled for you. main character energy for real. π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/bridge/panel.c and her whole friend group:
drm_bridge_is_panel(9)drm_panel_bridge_add(9)drm_panel_bridge_add_typed(9)drm_panel_bridge_remove(9)drm_panel_bridge_set_orientation(9)devm_drm_panel_bridge_add(9)devm_drm_panel_bridge_add_typed(9)drm_panel_bridge_connector(9)devm_drm_of_get_bridge(9)drmm_of_get_bridge(9)
iykyk π
and that's the page!! mwah π sourced straight from ./drivers/gpu/drm/bridge, dated October 2026, drmm_panel_bridge_add(9) and out πβ¨ bye bestie, go build a bridge π«Ά
π¦ 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