intel_dp_li...sable_config(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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_caps is called with reset=true πŸ”„
  • the sink capabilities change 🌈
  • or intel_dp_link_caps_reset is 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 β€” if config was valid and the derived state was updated πŸ’– slay, it worked
  • false β€” if config was 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 πŸ‘‘


bestie reminder: this all lives in ./drivers/gpu/drm/i915/display, dated October 2026, filed under intel_dp_li...sable_config(9) πŸŽ€ that's the whole page, mwah πŸ’‹βœ¨
πŸ“¦ where this page comes from