xe_rtp_match_even_instance(9)
β¨ xe_rtp_match_even_instance(9) β¨
okay bestie so we're in the Kernel API Manual today and this little cutie lives in the π§ Linux kernel β it's a helper for the xe DRM driver, and its whole personality is "is this engine instance an even number?" π no cap, that's it, that's the function.
π NAME π
xe_rtp_match_even_instance β literally just matches if the engine instance is even π
π¦ SYNOPSIS π¦
bool xe_rtp_match_even_instance (const struct xe_device *xe , const
struct xe_gt *gt , const struct xe_hw_engine *hwe );
she takes three const pointers and hands you back a bool, periodt π
πΈ ARGUMENTS πΈ
xeβ the Device structure, aka the whole card's main character energy π«Άgtβ the GT structure, the graphics tile situation β¨hweβ the Engine instance β this is the girl we're actually doing a vibe check on π
β RETURN β
true if the engine instance is even, false otherwise. that's the whole tea β lowkey the most straightforward return ever and honestly we love that for her π
π SEE ALSO π
bestie there is SO much lore in the kernel file ./drivers/gpu/drm/xe/xe_rtp.h β go binge these icons when you're done here:
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_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_has_flat_ccs(9)xe_rtp_match_has_msix(9)
π§ friendly reminder that this page is filed under ./drivers/gpu/drm/xe and dated October 2026 β so if you're reading this from the past, hi, you're doing great, keep going π
and that's the page, xe_rtp_match_even_instance(9), signing off β mwah, slay, go read some kernel source ππ
π¦ 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