drm_dp_tunne..._required_bw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_dp_tunne..._required_bw(9) β€” like, the kernel API manual, section 9, bestie ✨

okay so real talk, this is a page from the kernel API manual (9), and yes the title got chopped to drm_dp_tunne..._required_bw(9) because apparently even manpage headers have a character limit and honestly? relatable. the actual star of the show is drm_dp_tunnel_atomic_get_required_bw and she is serving πŸŽ€


🌸 NAME 🌸

drm_dp_tunnel_atomic_get_required_bw β€” get the BW required by a DP tunnel. that's it, that's the whole vibe. she tells you how much bandwidth the tunnel needs, no cap πŸ’–


✨ SYNOPSIS ✨

int drm_dp_tunnel_atomic_get_required_bw (const struct
drm_dp_tunnel_state *tunnel_state );

like, you hand her a tunnel state and she hands you back an int with the required BW. simple. iconic. periodt 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • tunnel_state β€” the atomic state of the tunnel you're querying πŸ‘€ that's the one you're asking about, bestie. const struct drm_dp_tunnel_state *, so she's just reading, not touching. respectful queen πŸ’…

πŸŽ€ DESCRIPTION πŸŽ€

so what she does is calculate the BW required by a tunnel β€” and the way she does it is by adding up the required BW of all the streams in the tunnel. every single one. no skipping, no shortcuts, we love a thorough main character 🌈

then she returns the total BW required by the tunnel. that's the whole function. lowkey elegant, highkey useful ✨


πŸ”₯ SEE ALSO πŸ”₯

the kernel file lives at ./drivers/gpu/drm/display/drm_dp_tunnel.c β€” go say hi to her 🧚

and here's the whole friend group, fr fr, every single one:

go read all of them. i'll wait. πŸ’œ


ngl, the header is literally abbreviated to drm_dp_tunne..._required_bw(9) β€” that's not a typo on my end, that's just how the page comes, and honestly it's giving "username truncated by the app" energy 😭

okay bye bestie, this page came from ./drivers/gpu/drm/display and it's dated October 2026, part of the Kernel API Manual section 9 β€” slay, see you in the next manpage πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from