XE_RTP_ACTION_WR(9)
π XE_RTP_ACTION_WR(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this one's a tiny little macro from the xe driver's RTP (register table programming) world, and honestly? she's lowkey iconic. she writes a value to a register and overrides all the bits, no cap π
πΈ NAME πΈ
XE_RTP_ACTION_WR β the helper that writes a value to the register, overriding all the bits π
like, all of them. every single bit. she does not share the register with anybody. main character energy fr fr.
β¨ SYNOPSIS β¨
XE_RTP_ACTION_WR (reg_ , val_ , ... );
π¦ ARGUMENTS π¦
reg_β the register π (yes, that's the whole description, she's a simple girl)val_β the value to set π...β extra fields you wanna override in the structxe_rtp_actionentry β a little sprinkle of customization, iykyk π§
π₯ DESCRIPTION π₯
so the whole point of this one: the correspondent notation in bspec is literally just
REGNAME = VALUE
and that's it. that's the vibe. REGNAME = VALUE, register gets the value, bits get overridden, we move on. periodt π
β¨
ngl she's a short manpage but she ATE. don't come for her for being brief, she's been booked and busy since October 2026 π«Ά
π SEE ALSO π
okay this list is LONG and she's not gatekeeping a single one of them, here we go bestie, hold my iced coffee βπ
First up, the family file:
- Kernel file
./drivers/gpu/drm/xe/xe_rtp.h
Then the rules, all of them, in order, no skips, we're thorough in this house:
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)
Then the other actions, her sisters π«Ά:
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)
Then the supporting cast, living their best lives π¦:
And the matchers, last but definitely not least, we love a lowercase queen πΈ:
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 thirty entries in SEE ALSO and every single one of them made it into this rewrite, no shortcuts, no "etc.", we don't do that here π
okay that's the whole page bestie, go write some registers π
this gem lives at ./drivers/gpu/drm/xe and she was dated October 2026 β mwah, sending you off with a kiss, 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