drm_dp_tunne...allocated_bw(9)
π drm_dp_tunnel_get_allocated_bw β get the BW allocated for a DP tunnel π
okay so bestie, welcome to the Kernel API Manual β¨ this one's about drm_dp_tunnel_get_allocated_bw, and it's genuinely such a little cutie β one job, does it well π
πΈ NAME πΈ
drm_dp_tunnel_get_allocated_bw β get the BW allocated for a DP tunnel π
β¨ SYNOPSIS β¨
int drm_dp_tunnel_get_allocated_bw (struct drm_dp_tunnel *tunnel );
π¦ ARGUMENTS π¦
tunnelβ the tunnel object π that's the whole entire vibe, it's the only thing you pass in
π DESCRIPTION π
So this is the part where you ask the tunnel "hey bestie, how much BW do you have allocated rn?" and it tells you π
It gets the current BW allocated for tunnel. Simple. Iconic. Main character energy.
But listen β there's a little lore here π After the tunnel is created / resumed and the BW allocation mode is enabled for it, the allocation doesn't just show up immediately. Nope. It becomes determined only after the first allocation request by the driver calling drm_dp_tunnel_alloc_bw π so like, timing matters, iykyk.
π«Ά it returns the BW allocated for the tunnel, or-1if the allocation is undetermined. That-1is your "not yet bestie, check back later" signal πΈ
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/display/drm_dp_tunnel.cβ the whole squad lives here π§
And the rest of the tunnel besties, all of them, no cap:
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_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_required_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)
and that's the whole page, bestie π
β¨ this little gem comes from ./drivers/gpu/drm/display and it's dated October 2026 β go forth and check your BW, ily, bye ππ¦π
π¦ 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