intel_dp_li...sable_config(9)
π intel_dp_link_caps_disable_config(9) β a Kernel API Manual moment
okay so bestie, welcome to the Kernel API Manual β¨ this one's all about intel_dp_link_caps_disable_config, and honestly? it's giving "small function, big responsibilities" π
πΈ NAME
intel_dp_link_caps_disable_config β literally just disable a configuration π
β¨ SYNOPSIS
bool intel_dp_link_caps_disable_config (struct intel_dp_link_caps
*link_caps , const struct intel_dp_link_config *config );
π«Ά ARGUMENTS
link_capsβ the link capabilities state, aka the main character of this whole operation πconfigβ the configuration you're about to disable, no cap π
π¦ DESCRIPTION
So here's the vibe: you call this and it disables the configuration identified by config. Iconic. It takes that config and removes it from the set of allowed configurations β like removing someone from the group chat, but for hardware states π
One thing though, and this is important: the disabling shouldn't leave the remaining configuration set empty. so like, don't yeet the last one out, that's not the move π
And once a config is disabled, it remains disallowed until one of these happens:
intel_dp_link_capsis called withreset=trueπ- the sink capabilities change π
- or
intel_dp_link_caps_resetis called β¨
and btw, each of these things happens after a new sink is connected or the currently connected sink changes its capabilities β so the state does eventually freshen up, you're not stuck in the past forever π«Ά
β RETURN
trueβ ifconfigwas valid and the derived state was updated π slay, it workedfalseβ ifconfigwas invalid, or if the remaining configuration set would remain empty π nope, not happening
π₯ SEE ALSO
Kernel file ./drivers/gpu/drm/i915/display/intel_dp_link_caps.c β go read the source, iykyk π
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_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)
bestie reminder: this all lives in./drivers/gpu/drm/i915/display, dated October 2026, filed underintel_dp_li...sable_config(9)π that's the whole page, mwah πβ¨
π¦ 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