XE_RTP_ACTIONS(9)
π XE_RTP_ACTIONS π
okay bestie, real talk: this is a kernel API manual page (XE_RTP_ACTIONS(9)) from the Linux Kernel API Manual, and it's genuinely one of the cutest little helpers in ./drivers/gpu/drm/xe. let's get into it π
β¨ NAME β¨
XE_RTP_ACTIONS β a helper that sets multiple actions onto a struct xe_rtp_entry_sr. that's it. that's the whole job. and it eats every time π«Ά
πΈ SYNOPSIS πΈ
XE_RTP_ACTIONS (... );
π¦ ARGUMENTS π¦
...β the actions to be taken. literally just feed it your actions, bestie π
π DESCRIPTION π
so here's the vibe check: you need at least one action. can't show up to the function with zero actions, that's not the move. π
and the ceiling? you can pass up to 12 actions. twelve! iconic capacity, no cap. π₯
wanna know what actions are even allowed? go peek at XE_RTP_ACTION_* β that's where all the possible actions live, iykyk.
here's an example of the whole thing in the wild, and yes it's giving main character energy:
const struct xe_rtp_entry_sr wa_entries[] = {
...
{ XE_RTP_NAME("test-entry"),
XE_RTP_RULES(...),
XE_RTP_ACTIONS(SET(..), SET(...), CLR(...)),
...
},
...
};
see how XE_RTP_ACTIONS(...) is just sitting there stacking SET(..), SET(...) and CLR(...) together? that's the moment. periodt. β¨
π SEE ALSO π
bestie there is SO much lore here, go read all of it, i'm obsessed:
- the kernel file
./drivers/gpu/drm/xe/xe_rtp.h 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_match_always(9)xe_rtp_match_even_instance(9)xe_rtp_match_has_flat_ccs(9)xe_rtp_match_has_msix(9)
ngl bestie, that's a LOT of see-alsos. drink some water, stretch, then come back and read them all. hydration is self care ππ§
and that's the whole page, mwah π β this cutie came straight from ./drivers/gpu/drm/xe, dated October 2026. go forth and stack your actions (one to twelve of them, remember π), and slay π
β¨π¦πΈ
π¦ 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