drm_dp_tunnel_max_dprx_rate(9)
π drm_dp_tunnel_max_dprx_rate(9) π
okay bestie, welcome to the drm_dp_tunnel_max_dprx_rate(9) page β it's a Kernel API Manual moment, and honestly this one is short and sweet. Let's get into it β¨
πΈ NAME πΈ
drm_dp_tunnel_max_dprx_rate β literally just "query the maximum rate of the tunnel's DPRX". that's the whole vibe check π
π¦ SYNOPSIS π¦
int drm_dp_tunnel_max_dprx_rate (const struct drm_dp_tunnel *tunnel );
π ARGUMENTS π
tunnelβ the tunnel object. yes, that's it. one (1) argument. she's low maintenance π
π₯ DESCRIPTION π₯
so the way this works: you call this function when you wanna query the maximum link rate of the DPRX connected to tunnel. simple enough, right?
but here's the β¨ key detail β¨ β and ngl this is the part you cannot miss β this rate will not be limited by the BW limit of the tunnel. and that's as opposed to the standard and extended DP_MAX_LINK_RATE DPCD registers. so like, don't go assuming this number matches what those registers would tell you, because it does not, and that's the whole point π«Ά
it returns the maximum link rate in 10 kbit/s units. units matter bestie, don't forget the 10 kbit/s π
π SEE ALSO π
kernel file ./drivers/gpu/drm/display/drm_dp_tunnel.c β go read the source, iykyk π
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_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)
okay that's the whole page, you ate that π
quick little sign-off: this one lives in ./drivers/gpu/drm/display, dated October 2026, and it's part of the Kernel API Manual. slay, go query some DPRX rates πβπ
π¦ 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