XE_RTP_ACTION_CLR(9)
π XE_RTP_ACTION_CLR(9) π
okay so this is a page from the Kernel API Manual bestie, and it's about XE_RTP_ACTION_CLR β the macro that clears bits from @val_ in a register. no cap, it's simpler than it sounds, let's go π«Ά
β¨ NAME β¨
XE_RTP_ACTION_CLR β Clear bits from @val_ in the register.
π¦ SYNOPSIS π¦
XE_RTP_ACTION_CLR (reg_ , val_ , ... );
like literally that's it, three-ish things and you're done π
π ARGUMENTS π
reg_β the Register. the actual thing you're poking at, iconic πval_β the Bits to clear in the register. these are the ones getting the β¨un-aliveβ¨ treatment...β Additional fields to override in thestruct xe_rtp_actionentry. so extra stuff you wanna swap in, go off π§
πΈ DESCRIPTION πΈ
okok so here's the tea π β for masked registers this translates to a single write. one and done, slay. but for other registers it's a RMW (read-modify-write, iykyk). the way that difference matters fr fr.
the correspondent bspec notation is, like, this (example for bits 2 and 5, but could be any):
REGNAME[2] = 0
REGNAME[5] = 0
so you're zeroing out those bits, one line each, cute and tidy π
π₯ SEE ALSO π₯
kernel file ./drivers/gpu/drm/xe/xe_rtp.h plus the whole friend group of related pages, no gatekeeping here bestie:
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_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)
π reminder that this is kernel API territory β respect the RMW, don't be out here writing registers all willy-nilly, ok? π
and that's the whole vibe check! this one lives in ./drivers/gpu/drm/xe, dated October 2026 β go off, you understood the assignment πβ¨π
π¦ 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