intel_dp_in...nd_dprx_caps(9)
π intel_dp_init_lttpr_and_dprx_caps β the Kernel API Manual page you actually wanna read
okay so bestie, welcome to the Kernel API Manual entry for intel_dp_init_lttpr_and_dprx_caps β yes the title gets truncated in the header, it's giving "my name is too long for the group chat display name" energy π but we move.
β¨ NAME β¨
intel_dp_init_lttpr_and_dprx_caps β this one literally detects LTTPR and DPRX caps and inits the LTTPR link training mode. no cap, that's the whole job π«Ά
β¨ SYNOPSIS β¨
int intel_dp_init_lttpr_and_dprx_caps (struct intel_dp *intel_dp );
β¨ ARGUMENTS β¨
intel_dpβ the Intel DP struct. that's it, that's the argument π it's the main character here.
β¨ DESCRIPTION β¨
So what this function actually does π β it reads the LTTPR common capabilities and the DPRX capabilities, then switches over to non-transparent link training mode if it detects any LTTPR, and it reads the PHY capabilities for every detected LTTPR. obsessed with the thoroughness honestly πΈ
But bestie, sometimes life says no π β if there's an LTTPR detection error, or if the number of LTTPRs is more than is supported (that's 8, literally eight, that's the cap), it falls back to the no-LTTPR, transparent mode link training mode. graceful degradation slay β¨
β¨ RETURN β¨
>0β if LTTPRs were detected and the non-transparent LT mode was set. also, the DPRX capabilities are read out. winner winner π0β if no LTTPRs were detected, or more than8LTTPRs were detected, or in case of a detection failure and the transparent LT mode was set. the DPRX capabilities are read out. still useful, lowkey chill vibes π¦<0β reading out the DPRX capabilities failed. it's giving sad girl hours π
β¨ SEE ALSO β¨
Kernel file ./drivers/gpu/drm/i915/display/intel_dp_link_training.cDisplayPort link training(9)link_recovery_reset(9)intel_dp_stop_link_train(9)intel_dp_start_link_train(9)
the whole squad, fr fr π«Ά go read them, iykyk
ok that's the page!! mwah π
source/version: ./drivers/gpu/drm/i915/display β and it's dated October 2026, so yeah she's from the future, main character energy only β see u next time bestie, bye!! πππ
π¦ 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