drm_atomic_h...gate_bus_fmt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

drm_atomic_helper_bridge_propagate_bus_fmt β€” bestie, this one takes your output bus format and propagates it all the way to the input end of a bridge. Fr fr that's literally the whole job πŸ’…

(also, hi, this is drm_atomic_h...gate_bus_fmt(9) from the Kernel API Manual, the name got abbreviated in the corner because it's long, iykyk πŸŽ€)


🌸 SYNOPSIS 🌸

u32 * drm_atomic_helper_bridge_propagate_bus_fmt (struct drm_bridge
*bridge , struct drm_bridge_state *bridge_state , struct drm_crtc_state
*crtc_state , struct drm_connector_state *conn_state , u32 output_fmt ,
unsigned int *num_input_fmts );

πŸ’– ARGUMENTS πŸ’–

  • bridge β€” the bridge control structure itself, the main character πŸ‘‘
  • bridge_state β€” the shiny new bridge state
  • crtc_state β€” the new CRTC state
  • conn_state β€” the new connector state
  • output_fmt β€” the output bus format you're testing
  • num_input_fmts β€” this bad boy will contain the size of the returned array, no cap

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so listen 🫢 β€” this helper is a pluggable implementation of the drm_bridge_funcs.atomic_get_input_bus_fmts operation, and it's specifically for bridges that don't modify the bus configuration between their input and their output. Like, what comes in equals what goes out, periodt.

It returns an array of input formats with a single element set to output_fmt. One element. That's it. Iconic minimalism honestly ✨


πŸŽ€ RETURN πŸŽ€

A valid format array of size num_input_fmts πŸ’– … or NULL if the allocation failed 😭 (the allocation said "not today").


🌈 SEE ALSO 🌈

Grab a snack, this list is a whole vibe β€” but every single one is here, promise πŸ“

okay that's a wrap bestie 🧚 this page lives in ./drivers/gpu/drm, dated October 2026, and it's the drm_atomic_h...gate_bus_fmt(9) entry from the Kernel API Manual β€” go forth and propagate those bus formats πŸ’œπŸ”₯

πŸ“¦ where this page comes from