XE_RTP_RULE...ERSION_RANGE(9)
π XE_RTP_RULE_MEDIA_VERSION_RANGE(9) β like, the whole glow-up
okay so bestie, welcome to the Kernel API Manual β¨ this little page is all about XE_RTP_RULE_MEDIA_VERSION_RANGE, and honestly? she's a vibe. tiny rule, big energy. let's get into it π
πΈ NAME πΈ
XE_RTP_RULE_MEDIA_VERSION_RANGE β literally just creates a rule that matches a range of media version π that's it, that's the whole job, and she does it flawlessly.
β¨ SYNOPSIS β¨
XE_RTP_RULE_MEDIA_VERSION_RANGE (ver_start__ , ver_end__ );
look at her go π«Ά two args, no drama.
π ARGUMENTS π
ver_start__β the first media IP version you wanna match. the beginning of the era, the opening act πver_end__β the last media IP version you wanna match. the finale, the closing number π«
π¦ DESCRIPTION π¦
so here's the tea, and it's important tea β: the range this rule matches is [ ver_start__, ver_end__ ] β and that means inclusive on both sides, no cap. ver_start__ is in, ver_end__ is in, everybody's invited to the party π
bestie pls don't forget the inclusive thing, it's literally the whole point of the note π
for how you're actually supposed to use this thing, go check out XE_RTP_RULES β she's the main character energy that explains the expected usage π
π SEE ALSO π
buckle up, this list is long and honestly iconic:
Kernel file ./drivers/gpu/drm/xe/xe_rtp.h ποΈ plus a whole squad:
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_ANY_GT(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, the whole friend group fr fr ππ
and that's the page, bestie!! π this little masterpiece lives over in ./drivers/gpu/drm/xe, dated October 2026, and it signs off as XE_RTP_RULE...ERSION_RANGE(9) β yes the footer truncates her name, she's mysterious like that πβ¨ go forth and match some media versions, ily π§π
π¦ 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