XE_RTP_RULE_...RSION_ANY_GT(9)
π
XE_RTP_RULE_...RSION_ANY_GT(9) β the Kernel API Manual, but make it make sense β¨
okay bestie, so this is a page from the Kernel API Manual and it's lowkey iconic once you get past the name. The function is XE_RTP_RULE_MEDIA_VERSION_ANY_GT and honestly the name is longer than my attention span, but we're gonna get through it together π«Ά
πΈ NAME πΈ
XE_RTP_RULE_MEDIA_VERSION_ANY_GT β literally here to create a rule that matches media version on any GT. That's the whole vibe. π
β¨ SYNOPSIS β¨
XE_RTP_RULE_MEDIA_VERSION_ANY_GT (ver__ );
no cap, that's it. she's small but she's powerful π
π ARGUMENTS π
ver__β the Media IP version you want to match. yes bestie, this is the one thing you actually have to hand her. π
π¦ DESCRIPTION π¦
okay so listen. This is exactly like XE_RTP_RULE_MEDIA_VERSION β same energy, same family β but it matches even if the current GT being checked is not of the media type. the way that's the entire plot twist π
What that means in practice: it lets you add RTP entries to another GT when the device contains a Media IP with that version. so you're not stuck checking only media GTs, you can reach across and bless the other GT with your entries. main character energy fr fr π
For expected usage, go refer to XE_RTP_RULES β that's where the actual how-to lives, iykyk. π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/xe/xe_rtp.hβ the source of truth, go look at her π XE_RTP_RULE_PLATFORM(9)XE_RTP_RULE_SUBPLATFORM(9)XE_RTP_RULE_PLATFORM_STEP(9)XE_RTP_RULE_GRAPHICS_STEP(9)XE_RTP_RULE_MEDIA_STEP(9)XE_RTP_RULE_ENGINE_CLASS(9)XE_RTP_RULE_FUNC(9)XE_RTP_RULE_GRAPHICS_VERSION(9)XE_RTP_RULE_GRAPHICS_VERSION_RANGE(9)XE_RTP_RULE_GRAPHICS_VERSION_ANY_GT(9)XE_RTP_RULE_MEDIA_VERSION(9)XE_RTP_RULE_MEDIA_VERSION_RANGE(9)XE_RTP_RULE_IS_INTEGRATED(9)XE_RTP_RULE_IS_DISCRETE(9)XE_RTP_RULE_OR(9)XE_RTP_ACTION_WR(9)XE_RTP_ACTION_SET(9)XE_RTP_ACTION_CLR(9)XE_RTP_ACTION_FIELD_SET(9)XE_RTP_ACTION_FIELD_SET_FUNC(9)XE_RTP_ACTION_WHITELIST(9)XE_RTP_NAME(9)XE_RTP_ENTRY_FLAG(9)XE_RTP_ACTION_FLAG(9)XE_RTP_RULES(9)XE_RTP_ACTIONS(9)xe_rtp_match_always(9)xe_rtp_match_even_instance(9)xe_rtp_match_has_flat_ccs(9)xe_rtp_match_has_msix(9)
like, that's a whole friend group and every single one of them ate π₯
ngl the whole thing lives in ./drivers/gpu/drm/xe and this particular page is dated October 2026 β so yeah, she's from the future, we don't ask questions πβ¨ periodt. π
#π§ signed off with love, your fav kernel bestie π§
π¦ 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