drm_dp_tunne..._required_bw(9)
π 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:
drm_dp_tunnel_get(9)drm_dp_tunnel_put(9)drm_dp_tunnel_set_io_error(9)drm_dp_tunnel_detect(9)drm_dp_tunnel_destroy(9)drm_dp_tunnel_enable_bw_alloc(9)drm_dp_tunnel_disable_bw_alloc(9)drm_dp_tunnel_bw_alloc_is_enabled(9)drm_dp_tunnel_pr_optimization_supported(9)drm_dp_tunnel_alloc_bw(9)drm_dp_tunnel_get_allocated_bw(9)drm_dp_tunnel_update_state(9)drm_dp_tunnel_128b132b_supported(9)drm_dp_tunnel_128b132b_lane0_mapping_supported(9)drm_dp_tunnel_128b132b_dprx_rates(9)drm_dp_tunnel_max_dprx_rate(9)drm_dp_tunnel_max_dprx_lane_count(9)drm_dp_tunnel_available_bw(9)drm_dp_tunnel_atomic_get_state(9)drm_dp_tunnel_atomic_get_old_state(9)drm_dp_tunnel_atomic_get_new_state(9)drm_dp_tunnel_atomic_set_stream_bw(9)drm_dp_tunnel_atomic_get_group_streams_in_state(9)drm_dp_tunnel_atomic_check_stream_bws(9)drm_dp_tunnel_mgr_create(9)drm_dp_tunnel_mgr_destroy(9)
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
- 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