drm_dp_tunne...et_stream_bw(9)
π 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:
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_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 page!! sourced from./drivers/gpu/drm/display, dated October 2026, part of the Kernel API Manual β the header was stylin' asdrm_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
- 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