intel_dp_tun...te_stream_bw(9)
π NAME π
intel_dp_tunnel_atomic_compute_stream_bw β okay so this is the one that computes the BW (bandwidth, bestie, not "boyfriend") that a DP tunnel stream needs β¨
π SYNOPSIS π
int intel_dp_tunnel_atomic_compute_stream_bw (struct intel_atomic_state *state,
struct intel_dp *intel_dp,
const struct intel_connector *connector,
struct intel_crtc_state *crtc_state);
πΈ ARGUMENTS πΈ
stateβ the atomic state, aka the whole vibe check in progressintel_dpβ the DP object itself, main character energy frconnectorβ the connector that's usingintel_dp, iykykcrtc_stateβ the state of the CRTC belonging to the given DP tunnel stream
π¦ DESCRIPTION π¦
So what this does: it computes the BW that the CRTC requires (the CRTC is the DP tunnel stream here, love that for us), and then it stores that BW into the DP tunnel state that contains the stream, inside state. Slay π
β οΈ Real talk though β before you re-calculate a BW requirement in thecrtc_statestate, the old BW requirement computed by this function must be cleared first by callingintel_dp_tunnel_atomic_clear_stream_bw. Not me warning you twice. It's literal. Clear it first. Periodt.
It returns 0 in case of success, and a negative error code otherwise. That's the whole contract, no cap π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/i915/display/intel_dp_tunnel.c β go read it, it's giving lore β¨
intel_dp_tunnel_disconnect(9)intel_dp_tunnel_destroy(9)intel_dp_tunnel_detect(9)intel_dp_tunnel_bw_alloc_is_enabled(9)intel_dp_tunnel_pr_optimization_supported(9)intel_dp_tunnel_suspend(9)intel_dp_tunnel_resume(9)intel_dp_tunnel_atomic_cleanup_inherited_state(9)intel_dp_tunnel_atomic_add_state_for_crtc(9)intel_dp_tunnel_atomic_check_state(9)intel_dp_tunnel_atomic_clear_stream_bw(9)intel_dp_tunnel_atomic_check_link(9)intel_dp_tunnel_atomic_alloc_bw(9)intel_dp_tunnel_mgr_init(9)intel_dp_tunnel_mgr_cleanup(9)
π that's the whole page, bestie! shipped from ./drivers/gpu/drm/i915/display, dated October 2026, and yeah the title got squished down to intel_dp_tun...te_stream_bw(9) in the corner bc terminal columns are haters π stay hydrated and clear your stream BW before recomputing ππ«Ά
π¦ 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