drm_dp_tunn...ams_in_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– drm_dp_tunn...ams_in_state(9) β€” Kernel API Manual πŸ’–

okay so bestie, welcome to the glow-up edition of the kernel API manual ✨ this one lives in the DRM department and the star of the show is drm_dp_tunnel_atomic_get_group_streams_in_state β€” iconic name, i know, the header up top had to abbreviate it because it's literally too long to fit 😭 anyway. she's a real function, she's in the kernel, and we're gonna get you acquainted 🫢


✨ NAME ✨

drm_dp_tunnel_atomic_get_group_streams_in_state β€” get the mask of stream IDs in a group πŸ’…

like, that's it. that's the whole job. she fetches you the mask. no cap.


🌸 SYNOPSIS 🌸

int drm_dp_tunnel_atomic_get_group_streams_in_state (struct
       drm_atomic_commit *state , const struct drm_dp_tunnel *tunnel , u32
       *stream_mask );

three (3) little parameters, one big slay ⭐


πŸŽ€ ARGUMENTS πŸŽ€

  • state β€” the atomic state. yep, the commit state, she's coming along for the ride πŸ’«
  • tunnel β€” the tunnel object. your main character, fr fr πŸš‡
  • stream_mask β€” the mask of streams in the tunnel's group. this is the output, she's the one you're here for πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the tea πŸ“ β€” this function gets you the mask of all the stream IDs in the tunnel group of tunnel. that's the whole vibe. group streams β†’ mask β†’ you. simple, clean, no drama.

and on the return tip: you get 0 in case of success β€” with the stream IDs dropped right into stream_mask for you πŸ’– β€” or a negative error code in case of failure 😭. that's it. that's the contract. success gives you 0 and the goods, failure gives you a negative number and no goods.

lowkey important: the stream IDs only land in stream_mask when it works. negative error code means check yourself before you wreck yourself 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group, honestly. go say hi to all of them πŸ’…:


and that's the whole page bestie, you ate that πŸ’…βœ¨ this lil number lives over in ./drivers/gpu/drm/display and she's dated October 2026 β€” so she's serving future-vibes only πŸŒˆπŸ‘‘ mwah, go read the kernel file, ily πŸ«ΆπŸ’–

πŸ“¦ where this page comes from