drm_dp_tunne...et_stream_bw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

drm_dp_tunnel_atomic_set_stream_bw β€” okay so this is the one that sets the BW (bandwidth, bestie) for a DP tunnel stream ✨ it lives in the Kernel API Manual, no cap


🌸 SYNOPSIS 🌸

int drm_dp_tunnel_atomic_set_stream_bw (struct drm_atomic_commit *state
, struct drm_dp_tunnel *tunnel , u8 stream_id , int bw );

Like, that's the whole vibe right there πŸ‘‘ it takes state, tunnel, stream_id and bw, and it hands you back an int. That's it. That's the function. πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • state β€” the atomic state, literally the main character of this whole operation πŸ’«
  • tunnel β€” the DP tunnel that's holding the stream, it's giving container energy 🫢
  • stream_id β€” the stream ID, the little name tag so we know which stream we're talking about 🏷️
  • bw β€” the BW of the stream, iykyk πŸ’…

✨ DESCRIPTION ✨

So what it does: it sets a DP tunnel stream's required BW in the atomic state. That's the whole thing. Iconic, honestly. πŸŽ€

It returns 0 when everything slays, and a negative error code otherwise 😭 so like, check that return value, bestie, don't just ignore it fr fr.


🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/display/drm_dp_tunnel.c β€” go read it, it ate πŸ’–

The whole friend group, no one left out:


🫢 and that's the page!! sourced from ./drivers/gpu/drm/display, dated October 2026, part of the Kernel API Manual β€” the header was stylin' as drm_dp_tunne...et_stream_bw(9) and the footer matched it exactly, so we keep that energy πŸ’œ mwah, go set some bandwidth bestie πŸ§šβ€β™€οΈπŸŒΈ
πŸ“¦ where this page comes from