STRUCT DRM_BRIDGE_TIMINGS(9)
πΈ struct drm_bridge_timings(9) πΈ
okay so bestie, welcome to the Kernel API Manual entry for struct drm_bridge_timings β it's the vibe-check sheet where a DRM bridge writes down all its timing requirements. literally just timing information for the bridge. that's the whole NAME. periodt. π
β¨ SYNOPSIS β¨
struct drm_bridge_timings {
u32 input_bus_flags;
u32 setup_time_ps;
u32 hold_time_ps;
bool dual_link;
};
like, that's the whole struct. four members, no drama, all iconic. π
π¦ Members π¦
input_bus_flagsβ this one tells you what extra settings the bridge needs for the pixel data on the bus, the little extras like pixel signal polarity, y'know? it's giving "custom order, please respect it". also seedrm_display_info->bus_flagsif you wanna go deeper. πsetup_time_psβ defines the time in picoseconds that the input data lines must be stable before the clock edge. so like, data has to show up early and chill there. no last-minute arrivals, bestie, that's not the vibe. β°hold_time_psβ defines the time in picoseconds the bridge takes to sample the input signal after the clock edge. so the data has to stick around for a sec after, too. both of y'all stay. π«Άdual_linkβtrueif the bus operates in dual-link mode. and the exact meaning? lowkey depends on the bus type, so don't @ me. for LVDS buses specifically, this indicates that even- and odd-numbered pixels are received on separate links. two links, two lanes of pixels, main character energy for both. π₯
ngl, if you're setting these values, get them right β timing fields are not the place to be guessing. the manpage says it, so say it with me: facts only. π
π SEE ALSO π
kernel file ./include/drm/drm_bridge.h π β and the whole friend group:
enum drm_bridge_attach_flags(9)struct drm_bridge_funcs(9)enum drm_bridge_ops(9)struct drm_bridge(9)devm_drm_bridge_alloc(9)drm_bridge_get_current_state(9)drm_bridge_get_next_bridge(9)drm_bridge_get_prev_bridge(9)drm_bridge_chain_get_first_bridge(9)drm_bridge_chain_get_last_bridge(9)drm_for_each_bridge_in_chain(9)drm_for_each_bridge_in_chain_from(9)
and that's the whole page, bestie! π sourced straight from ./include/drm, dated October 2026 β same struct drm_bridge_timings(9) energy from top to bottom. go forth and time those bridges correctly. iykyk ππ¦β¨
π¦ 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