xe_gt_mcr_unicast_read_any(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_gt_mcr_unicast_read_any(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this lil page is literally all about xe_gt_mcr_unicast_read_any, and by the end you're gonna be obsessed with it. no cap. 🫢


✨ NAME ✨

xe_gt_mcr_unicast_read_any β€” reads a non-terminated instance of an MCR register πŸ‘‘

it's giving "i just wanna read one register bestie, pick a good one for me" energy. and honestly? iconic.


🌸 SYNOPSIS 🌸

u32 xe_gt_mcr_unicast_read_any (struct xe_gt *gt , struct xe_reg_mcr
reg_mcr );

like, you hand it a gt and a reg_mcr, and it hands you back a u32. simple as that. slay. ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gt β€” the GT structure. your graphics tile main character. it's the whole vibe check of a context you're passing in here πŸ’œ
  • reg_mcr β€” the register to read. the specific one you're asking about, fr fr.

πŸ”₯ DESCRIPTION πŸ”₯

so here's the tea β˜•: this function reads a GT MCR register. that's the whole assignment and it ate.

but the way it does it is the cute part β€” the read gets steered to a non-terminated instance. that means an instance that isn't fused off, and isn't powered down by power gating. so like, it goes out of its way to find you a living, breathing, non-terminated instance instead of hitting a dead one. considerate king behavior honestly πŸŽ€

⚠️ important caveat bestie, do NOT skip this: this function assumes the caller is already holding any necessary forcewake domains. it's not gonna grab them for you. no hand-holding. you gotta come correct with your forcewake already held or it's gonna be a bad time πŸ’€

and what does it return? it returns the value from a non-terminated instance of reg. that's it. that's the whole return. periodt. 🫢


🌈 SEE ALSO 🌈

like all good things, this one has a whole friend group. go check out:

ngl that's a stacked lineup. iykyk πŸ’…


and that's the page bestie!! 🧚 no notes, you understood it perfectly, i'm so proud of you πŸ’–

mwah πŸ’‹ β€” this lil masterclass came to you from ./drivers/gpu/drm/xe, dated October 2026, and it's officially titled xe_gt_mcr_unicast_read_any(9) so you can cite it in your group chat with confidence πŸŽ€βœ¨

πŸ“¦ where this page comes from