ENUM INTEL_DP_LINK_CAPS_ORDER_KEY(9)
π 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_orderintel_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
- 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