drm_dp_tunnel_alloc_bw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 🌈


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