intel_dp_tu...c_check_link(9)
π intel_dp_tunnel_atomic_check_link(9) β like, the actual name
okay so bestie, you found a page from the Kernel API Manual and ngl the header is a whole mouthful, but we're gonna get through it together π«Ά
β¨ NAME β¨
intel_dp_tunnel_atomic_check_link β the vibe check for your DP tunnel atomic state π
π SYNOPSIS π
int intel_dp_tunnel_atomic_check_link (struct intel_atomic_state *state
, struct intel_link_bw_limits *limits );
like, it takes two things and gives you back an int. iconic behavior honestly π
π¦ ARGUMENTS π¦
stateβ the intel atomic state. that's the main character right there πlimitsβ link BW limits. the bandwidth budget, the boundaries, the rules β¨
πΈ DESCRIPTION πΈ
So here's the tea: this function checks the link configuration for all DP tunnels in state. all of them. every single one. no skipping π
And if that configuration is invalid? It'll update limits if possible to reduce the total BW. then β and this is the important part β after that happens, the configuration for all CRTCs in state must be recomputed with the updated limits. fr fr, you gotta go back around π
β RETURN β
0β slay π the configuration is valid. nothing to do, you're done, go touch grass.-EAGAINβ the configuration is invalid, BUTlimitsgot updated with fallback values. so now the configuration of all CRTCs instatemust be recomputed. it's giving "not wrong, just not done yet" π- Other negative error β the configuration is invalid with no fallback possibility, or the check just failed for another reason entirely. π yeah. that one hurts.
π SEE ALSO π
Kernel file ./drivers/gpu/drm/i915/display/intel_dp_tunnel.c β that's where the source lives, go be nosy bestie π§
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_compute_stream_bw(9)intel_dp_tunnel_atomic_clear_stream_bw(9)intel_dp_tunnel_atomic_alloc_bw(9)intel_dp_tunnel_mgr_init(9)intel_dp_tunnel_mgr_cleanup(9)
like, a whole friend group of tunnel functions. the way they all showed up together π₯
lowkey reminder: if you get a negative return that isn't -EAGAIN, there's no fallback plan. that's not a "try again" moment, that's a "something's actually broken" moment π
and that's the page!! π this one came out of ./drivers/gpu/drm/i915/display, dated October 2026, and the header goes by intel_dp_tu...c_check_link(9) because apparently even manpage titles get truncated. we love an abbreviation era π bye bestie, go check those tunnels π¦
π¦ 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