drm_dp_tunn...ams_in_state(9)
π 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 π :
- Kernel file
./drivers/gpu/drm/display/drm_dp_tunnel.c drm_dp_tunnel_get(9)drm_dp_tunnel_put(9)drm_dp_tunnel_set_io_error(9)drm_dp_tunnel_detect(9)drm_dp_tunnel_destroy(9)drm_dp_tunnel_enable_bw_alloc(9)drm_dp_tunnel_disable_bw_alloc(9)drm_dp_tunnel_bw_alloc_is_enabled(9)drm_dp_tunnel_pr_optimization_supported(9)drm_dp_tunnel_alloc_bw(9)drm_dp_tunnel_get_allocated_bw(9)drm_dp_tunnel_update_state(9)drm_dp_tunnel_128b132b_supported(9)drm_dp_tunnel_128b132b_lane0_mapping_supported(9)drm_dp_tunnel_128b132b_dprx_rates(9)drm_dp_tunnel_max_dprx_rate(9)drm_dp_tunnel_max_dprx_lane_count(9)drm_dp_tunnel_available_bw(9)drm_dp_tunnel_atomic_get_state(9)drm_dp_tunnel_atomic_get_old_state(9)drm_dp_tunnel_atomic_get_new_state(9)drm_dp_tunnel_atomic_set_stream_bw(9)drm_dp_tunnel_atomic_get_required_bw(9)drm_dp_tunnel_atomic_check_stream_bws(9)drm_dp_tunnel_mgr_create(9)drm_dp_tunnel_mgr_destroy(9)
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
- 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