drm_dp_tunn...k_stream_bws(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_dp_tunnel_atomic_check_stream_bws πŸ’…

okay bestie, this page is drm_dp_tunn...k_stream_bws(9) from the Kernel API Manual β€” yes the header name is literally truncated like that, no cap. let’s get into it 🫢


✨ NAME ✨

drm_dp_tunnel_atomic_check_stream_bws β€” Check BW limit for all streams in state


πŸ¦‹ SYNOPSIS πŸ¦‹

int drm_dp_tunnel_atomic_check_stream_bws (struct drm_atomic_commit
       *state , u32 *failed_stream_mask );

πŸŽ€ ARGUMENTS πŸŽ€

  • state β€” Atomic state
  • failed_stream_mask β€” Mask of stream IDs with a BW limit failure

🌸 DESCRIPTION 🌸

okay so what this function does is check the required BW of each DP tunnel in state against both the DPRX BW limit of the tunnel and the BW limit of the tunnel group. once a check fails, it returns a mask of stream IDs in failed_stream_mask. that mask will contain either all the streams in a tunnel (in case a DPRX BW limit check failed) or all the streams in a tunnel group (in case a group BW limit check failed). πŸ’…

return 0 if all the BW limit checks passed, -ENOSPC in case a BW limit check failed β€” with failed_stream_mask containing the streams failing the check β€” or a negative error code otherwise. periodt. πŸ”₯


πŸ”₯ SEE ALSO πŸ”₯


that’s the whole vibe, mwah πŸ’‹ this was drm_dp_tunn...k_stream_bws(9) from the Kernel API Manual, sourced from ./drivers/gpu/drm/display, dated October 2026. ily, bye! πŸ’–

πŸ“¦ where this page comes from