ENUM INTEL_DP_LINK_CAPS_ORDER_KEY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

enum intel_dp_link_caps_order_key β€” bestie, this is literally the key you use to order configurations ✨

So this is a page from the Kernel API Manual, and it's all about one tiny enum that decides which way the configs get sorted. Iconic behavior tbh πŸŽ€


✨ SYNOPSIS ✨

enum intel_dp_link_caps_order_key {
    INTEL_DP_LINK_CAPS_ORDER_KEY_BW ,
    INTEL_DP_LINK_CAPS_ORDER_KEY_RATE_LANE ,
    INTEL_DP_LINK_CAPS_ORDER_KEY_LANE_RATE ,
    INTEL_DP_LINK_CAPS_ORDER_KEY_NUM

};

πŸŽ€ Constants πŸŽ€

Ok so these are the four little members of the enum and honestly each one is doing its own thing πŸ’…

  • INTEL_DP_LINK_CAPS_ORDER_KEY_BW β€” orders the configurations by bandwidth first, then by link rate. bandwidth girlies rise 🌸
  • INTEL_DP_LINK_CAPS_ORDER_KEY_RATE_LANE β€” orders the configurations by link rate first, then by lane count πŸ¦‹
  • INTEL_DP_LINK_CAPS_ORDER_KEY_LANE_RATE β€” orders the configurations by lane count first, then by link rate 🫢
  • INTEL_DP_LINK_CAPS_ORDER_KEY_NUM β€” the number of ordering keys. that's it. that's the whole vibe. it's the count πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically: this enum is how a caller tells you how they want the configuration table to be ordered. It works together with an enum intel_dp_link_caps_order_direction β€” the two of them together cover iteration queries πŸ’œ

Like, you don't just want the table, you want it sorted a specific way, and this is the "specific way" menu ✨

See also, bestie β€” go look at these:

  • struct intel_dp_link_caps_order
  • intel_dp_link_caps_get_max_config

no cap, those two are the ones you'll want open in another tab πŸ™ˆ


🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/i915/display/intel_dp_link_caps.h, plus these absolute icons: enum intel_dp_link_caps_order_direction(9), struct intel_dp_link_caps_order(9), and for_each_dp_link_config(9) πŸ’–


ok that's the whole page, you ate that πŸ“ go sort some configurations, iykyk

sign-off from ./drivers/gpu/drm/i915/display, dated October 2026 β€” mwah, slay, periodt πŸ’…πŸ‘‘

πŸ“¦ where this page comes from