intel_dp_li...t_max_limits(9)
β¨ NAME β¨
okay so bestie, this is the Kernel API Manual page for intel_dp_li...t_max_limits(9), and the function is intel_dp_link_caps_set_max_limits β its whole job is to set the current maximum link limits. lowkey iconic. π
π SYNOPSIS π
bool intel_dp_link_caps_set_max_limits (struct intel_dp_link_caps
*link_caps , const struct intel_dp_link_config *max_link_limits );
that's the signature, no cap. π«Ά
πΈ ARGUMENTS πΈ
link_capsβ link capabilities state, aka the state bestie is about to poke.max_link_limitsβ new maximum link limits; the fresh ceiling you're handing over.
π¦ DESCRIPTION π¦
okay so what it does: it sets the current maximum rate and lane count limits to max_link_limits, which constrains the set of allowed configurations. it's giving βnew ceiling, same config party, but with boundaries.β β¨
but bestie, there is a rule: the new limits must leave at least one configuration allowed. fr fr, the limits must not be below the currently active forced parameters or below all the configurations that remain after disabled configurations are excluded. so don't set the ceiling so low that every allowed config gets cancelled. π«
and unlike intel_dp_link_caps_get_max_limits, the caller must serialize this call against concurrent queries and updates to link_caps, in line with the rest of the API. translation: you gotta coordinate that access yourself, because this one is not out here doing the serialization magic for you. π
π RETURN π
trueβ if thelink_capscached max limits value got updated withmax_link_limits. slay, success. πfalseβ ifmax_link_limitsis invalid. sad, but at least it's clear. π
π SEE ALSO π
- Kernel file β
./drivers/gpu/drm/i915/display/intel_dp_link_caps.c DisplayPort link capabilities(9)intel_dp_link_caps_get_max_config(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_reset_max_limits(9)intel_dp_link_caps_update(9)intel_dp_link_caps_reset(9)intel_dp_link_caps_debugfs_add(9)
okay that's the whole page, bestie β mwah π. source/version: ./drivers/gpu/drm/i915/display Β· date: October 2026. don't forget to hydrate and serialize your concurrent calls. π«Άβ¨
π¦ 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