drm_dp_tunnel_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– drm_dp_tunnel_get(9) πŸ’–

okay bestie, welcome to the Kernel API Manual entry for drm_dp_tunnel_get β€” yes, the manual name is literally Kernel API Manual, we love a formal queen πŸŽ€


✨ NAME ✨

drm_dp_tunnel_get β€” get a reference for a DP tunnel πŸš‡


πŸ¦‹ SYNOPSIS πŸ¦‹

struct drm_dp_tunnel * drm_dp_tunnel_get (struct drm_dp_tunnel *tunnel ,
struct ref_tracker **tracker );

🌸 ARGUMENTS 🌸

  • tunnel β€” the tunnel object, your main character 🫢
  • tracker β€” a debug tracker for the reference, lowkey the receipts for your ref πŸ‘‘

πŸ’… DESCRIPTION πŸ’…

so what this does is it gets you a reference for tunnel, and it also hands you a debug tracker β€” that tracker is there to help you locate the source of a reference leak / double reference put etc. issue. it's giving "who left the fridge open" energy but for refcounts 😭

the reference must be dropped after use, by calling drm_dp_tunnel_put and passing in tunnel and the *tracker that came back from here. no cap, this part is not optional πŸ’€

and what does it return? tunnel β€” as a convenience β€” along with *tracker. iconic, honestly ✨


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/gpu/drm/display/drm_dp_tunnel.c

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_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 bestie β€” mwah πŸ’‹ this little gem lives in ./drivers/gpu/drm/display, dated October 2026, brought to you by the Kernel API Manual. go forth and put your refs back, i'm obsessed with you 🧚🌟

πŸ“¦ where this page comes from