drm_dp_tunnel_update_state(9)
π drm_dp_tunnel_update_state(9) β¨
okay bestie, so we're in the Kernel API Manual today and this one's called drm_dp_tunnel_update_state β the whole point is syncing up your DP tunnel's software state with whatever the hardware state is actually doing. it's giving "let me check what you're really up to" energy ngl π
β¨ SYNOPSIS β¨
int drm_dp_tunnel_update_state (struct drm_dp_tunnel *tunnel );
π ARGUMENTS π
tunnelβ the tunnel object itself, girl. that's the whole thing.
πΈ DESCRIPTION πΈ
so basically you're updating the SW state of tunnel with the HW state. lowkey the software's just catching up to what the hardware's been doing this whole time. main character hardware behavior fr fr π¦
here's the return-value tea and you will be sipping it:
0β the state hasn't changed, everything's chill, nothing to see here π1β the state has changed and it got updated successfully, slay π- a negative error code β otherwise. it didn't go great. that's it, that's the vibe π
no cap, those are the only three flavors of return you're getting. memorized? good.
π₯ SEE ALSO π₯
okay so here's the whole friend group β the kernel file lives at ./drivers/gpu/drm/display/drm_dp_tunnel.c and it's neighbors with literally everyone:
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_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_get_group_streams_in_state(9)drm_dp_tunnel_atomic_check_stream_bws(9)drm_dp_tunnel_mgr_create(9)drm_dp_tunnel_mgr_destroy(9)
all of them. every single one. i don't make the rules π«Ά
and that's the page!! π this lil beauty comes to you from ./drivers/gpu/drm/display, dated October 2026, and yes β it's drm_dp_tunnel_update_state(9) walking out the door like the icon she is β¨π
π¦ 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