drm_dp_tunn...c_is_enabled(9)
π drm_dp_tunnel_bw_alloc_is_enabled(9) β the Kernel API Manual, bestie edition
okay so welcome to the Kernel API Manual, specifically the page for drm_dp_tunnel_bw_alloc_is_enabled π yes the header truncated it to drm_dp_tunn...c_is_enabled(9) because even man pages get a little lazy sometimes, but we know who she is.
β¨ NAME β¨
drm_dp_tunnel_bw_alloc_is_enabled β literally just queries the BW allocation mode enabled state. that's it. that's the whole job. she's a yes/no girlie π¦
πΈ SYNOPSIS πΈ
bool drm_dp_tunnel_bw_alloc_is_enabled (const struct drm_dp_tunnel
*tunnel );
like, it hands you back a bool. no drama, no side effects, no cap π
π ARGUMENTS π
tunnelβ the Tunnel object in question π that's the one you're asking about, bestie.
π§ DESCRIPTION π§
So what this does is query if the BW allocation mode is enabled for tunnel β basically a lil vibe check on the tunnel's bandwidth allocation mode status β¨
Returns true if the BW allocation mode is enabled for tunnel. Returns not-true otherwise, iykyk π
ngl this is the chillest function on the whole page β it asks a question, it answers the question, it leaves. no state changes, no surprises. iconic behaviour honestly π«Ά
π₯ SEE ALSO π₯
the kernel file where all the magic lives, fr fr:
./drivers/gpu/drm/display/drm_dp_tunnel.c
and the whole friend group π the tunnel crew, in the order the page lists them:
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_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_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 lil baddie ships out of ./drivers/gpu/drm/display and the page is dated October 2026 β so yeah, she's from the future, main character energy only β go forth and query your tunnel's BW allocation enabled state, you absolute icon π
β¨
π¦ 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