drm_dp_tunne...et_old_state(9)
π drm_dp_tunnel_atomic_get_old_state β from the Kernel API Manual, bestie β¨
Okay so picture this: you're deep in the kernel, in the Kernel API Manual, and you need the old atomic state for a tunnel. Not the new one. The old one. That's literally this function's whole personality, and it ate. π
β¨ NAME β¨
drm_dp_tunnel_atomic_get_old_state β get the old atomic state for a tunnel π
πΈ SYNOPSIS πΈ
struct drm_dp_tunnel_state * drm_dp_tunnel_atomic_get_old_state (struct
drm_atomic_commit *state , const struct drm_dp_tunnel *tunnel );
Like, yes, that signature is a whole paragraph. She's long but she's worth it. π¦
π«Ά ARGUMENTS π«Ά
- state β the atomic state, bestie. That's the one you're poking around in.
- tunnel β the tunnel you want the state for. The main character of this whole operation, ngl.
π DESCRIPTION π
Get the old atomic state for tunnel. That's it, that's the vibe. π
It returns the old state, or NULL if the tunnel's atomic state is not in state. So if you get nothing back, don't come for her β the state just wasn't in there. Not me explaining the return value twice, but like, it's giving thorough. π
π₯ SEE ALSO π₯
The kernel file lives right here, no cap:
./drivers/gpu/drm/display/drm_dp_tunnel.c
And here's the whole tunnel friend group β every single one of them, because we don't do "and friends" around here:
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_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)
And that's the whole page, periodt. π This icon was brought to you by the good people at ./drivers/gpu/drm/display, dated October 2026 β sending you all the tunnel-shaped love. πβ¨π
π¦ 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