drm_bridge_get_modes(9)
π drm_bridge_get_modes(9) π
okay so this is a page from the Kernel API Manual β yes, the actual one, we're in the kernel docs bestie, put your hair up π
β¨ NAME β¨
drm_bridge_get_modes β the glow-up function that fills all the modes currently valid for the sink into the @connector. slay π
πΈ SYNOPSIS πΈ
int drm_bridge_get_modes (struct drm_bridge *bridge , struct drm_connector *connector );
π¦ ARGUMENTS π¦
bridgeβ the bridge control structure. this is the main character of the operation, honestly πconnectorβ the connector you're filling with modes. she's the canvas, the receptacle, the vessel π¨
π DESCRIPTION π
okay so here's the tea β β if the bridge supports output modes retrieval (and you can tell because it's reported by the DRM_BRIDGE_OP_MODES bridge ops flag, iykyk), then this function calls drm_bridge_funcs.get_modes to fill the connector with all the valid modes and returns the number of modes added. periodt π
otherwise? it just returns 0. no drama, no modes, no nothing. π€·ββοΈ
β RETURN β
the number of modes added to the connector. that's it, that's the number, that's the whole vibe π₯
π SEE ALSO π
so many friends, so many links, we love a well-connected girlie π«Ά
first up, the kernel file itself:
./drivers/gpu/drm/drm_bridge.c
and then the whole extended friend group:
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_detect(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)
and that's the whole page babes π it lives in ./drivers/gpu/drm and the date on it is October 2026 β future-coded of it, honestly. mwah, go fill some connectors πβ¨
π¦ 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