drm_dp_tunne...et_old_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


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