XE_REG_OPTION_MASKED(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to XE_REG_OPTION_MASKED(9) from the Kernel API Manual β€” and the vibe is literally this:

  • XE_REG_OPTION_MASKED β€” register is "masked", with the upper 16 bits marking the written bits on the lower 16 bits. πŸŽ€βœ¨

✨ SYNOPSIS ✨

XE_REG_OPTION_MASKED

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the vibe check here: this option only applies to registers explicitly marked in bspec with "Access: Masked". no cap. πŸ™ˆ

Registers with this option can have write operations to specific lower bits by setting the corresponding upper bits. Other bits will not be affected. This allows register writes without needing a RMW cycle and without caching in software the register value. periodt. πŸ’…πŸ”₯


🌸 EXAMPLE 🌸

a write with value 0x00010001 will set bit 0 and all other bits retain their previous values. πŸŽ€

To be used with XE_REG. XE_REG_MCR and XE_REG_INITIALIZER. iykyk. πŸ¦‹


🌈 SEE ALSO 🌈


signing off from the source/version corner at ./drivers/gpu/drm/xe/regs, dated October 2026, on the XE_REG_OPTION_MASKED(9) page β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from