XE_RTP_ACTION_FLAG(9)
π XE_RTP_ACTION_FLAG π
okay bestie, welcome to the Kernel API Manual page for XE_RTP_ACTION_FLAG β she's a helper macro and she's lowkey iconic β¨
πΈ NAME πΈ
XE_RTP_ACTION_FLAG β the helper that adds a whole bunch of flags to a struct xe_rtp_action for you π«Ά
β¨ SYNOPSIS β¨
XE_RTP_ACTION_FLAG (... );
π ARGUMENTS π
...β the action flags themselves, but pls notice: you pass them without theXE_RTP_ACTION_FLAG_prefix, because the macro is gonna add that for you π
π¦ DESCRIPTION π¦
so basically, this macro is your bestie that automatically slaps a XE_RTP_ACTION_FLAG_ prefix onto the flags whenever you're defining struct xe_rtp_action entries. no cap, it just does the tedious part for you so you don't have to type the whole long name every single time π
here's the example, verbatim, because it ate:
const struct xe_rtp_entry_sr wa_entries[] = {
...
{ XE_RTP_NAME("test-entry"),
...
XE_RTP_ACTION_SET(..., XE_RTP_ACTION_FLAG(FOREACH_ENGINE)),
...
},
...
};
see how FOREACH_ENGINE just goes in raw and the prefix appears like magic? that's the vibe check passing π₯
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/xe/xe_rtp.hβ the whole friend group lives 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_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)
that's the whole page bestie, go forth and flag responsibly π
source: ./drivers/gpu/drm/xe Β· October 2026 Β· XE_RTP_ACTION_FLAG(9) β mwah, bye ππ
π¦ 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