intel_dp_li...t_max_config(9)
πΈ intel_dp_li...t_max_config(9) πΈ
okay so bestie, this one's from the Kernel API Manual and it's literally the glow-up guide for intel_dp_link_caps_get_max_config β the function that goes "out of all the configs we're allowed to use rn, which one is The One?" π
β¨ NAME β¨
intel_dp_link_caps_get_max_config β get the maximum config in a given order π
β¨ SYNOPSIS β¨
bool intel_dp_link_caps_get_max_config (struct intel_dp_link_caps
*link_caps , enum intel_dp_link_caps_order_key order_key , struct
intel_dp_link_caps_filter filter , struct intel_dp_link_config
*max_config );
β¨ ARGUMENTS β¨
link_capsβ the link capabilities state, aka where all the vibes live πorder_keyβ the ordering key, used to rank the candidate configurations. it's giving ranking ceremony, main character energy πfilterβ a filter for the candidate configurations, so we only look at the ones that pass the vibe check π¦max_configβ the returned maximum link configuration. this is where the winner gets announced π
β¨ DESCRIPTION β¨
So here's the tea, bestie π΅ β this function finds the last configuration among the currently allowed configurations (filtered by filter, obvi) in the iteration order selected by order_key, and then stores it right into max_config. periodt. π
See also:
enum intel_dp_link_caps_order_key
β¨ RETURN β¨
It returns true if a maximum config is returned, and false otherwise. no cap, that's the whole thing π€·ββοΈ
β¨ SEE ALSO β¨
- Kernel file
./drivers/gpu/drm/i915/display/intel_dp_link_caps.c DisplayPort link capabilities(9)intel_dp_link_caps_get_max_bw_config(9)intel_dp_link_caps_disable_config(9)intel_dp_link_caps_get_max_limits(9)intel_dp_link_caps_set_max_limits(9)intel_dp_link_caps_reset_max_limits(9)intel_dp_link_caps_update(9)intel_dp_link_caps_reset(9)intel_dp_link_caps_debugfs_add(9)
aaaand that's the whole page π«Ά this one lives in ./drivers/gpu/drm/i915/display, dated October 2026, so go read it there if you wanna fact-check me β ily, go slay your link configs πβ¨πΈ
π¦ 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