drm_dp_tunnel_alloc_bw(9)
π NAME π
okay bestie, welcome to drm_dp_tunnel_alloc_bw(9) from the Kernel API Manual β¨ This one is literally all about allocating BW for a DP tunnel β yes, the glow-up is real π
β¨ SYNOPSIS β¨
int drm_dp_tunnel_alloc_bw (struct drm_dp_tunnel *tunnel , int bw );
π ARGUMENTS π
tunnelβ the tunnel object, your main character here π«Άbwβ BW in kB/s units, no cap
π¦ DESCRIPTION π¦
So the vibe is: allocate bw kB/s for tunnel π
The allocated BW must be freed after use by calling this function for the same tunnel and setting bw to 0. That part is important, bestie β donβt leave your BW just floating around π
It returns 0 in case of success, and a negative error code otherwise. fr fr, thatβs the whole tea ββ¨
π SEE ALSO π
- Kernel file:
./drivers/gpu/drm/display/drm_dp_tunnel.c 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_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_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)
Thatβs the page, bestie! Source/version vibes: ./drivers/gpu/drm/display, dated October 2026, from the drm_dp_tunnel_alloc_bw(9) manual page. π«Άπ
π¦ 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