intel_gt_mcr_read_any_fw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… intel_gt_mcr_read_any_fw(9) πŸ’…

okay so this is a page from the Kernel API Manual, bestie, and it's all about intel_gt_mcr_read_any_fw β€” literally the function that reads one instance of an MCR register. no cap, that's the whole vibe. πŸŽ€


✨ NAME ✨

intel_gt_mcr_read_any_fw β€” reads one instance of an MCR register πŸ¦‹


🌸 SYNOPSIS 🌸

u32 intel_gt_mcr_read_any_fw (struct intel_gt *gt , i915_mcr_reg_t reg
);

πŸ’– ARGUMENTS πŸ’–

  • gt β€” the GT structure, like, the whole graphics tile situation 🫢
  • reg β€” the register you're trying to read. the one. the main character.

πŸ‘‘ DESCRIPTION πŸ‘‘

so it reads a GT MCR register. and here's the cute part: the read gets steered to a non-terminated instance β€” i.e., one that isn't fused off and isn't powered down by power gating. it sniffs out a live one for you. iconic behavior tbh. ✨

⚠️ lowkey important: this function assumes the caller is already holding any necessary forcewake domains. it does NOT go get them for you. if you want forcewake to be obtained automatically, use intel_gt_mcr_read_any instead. iykyk. πŸ’…

and it returns the value from a non-terminated instance of reg. that's it, that's the tea. πŸ“


πŸ”₯ CONTEXT πŸ”₯

the caller must hold gt->mcr_lock. like, non-negotiable. no lock, no read. periodt. πŸ’€


🌈 SEE ALSO 🌈


anyway that's the whole page, bestie β€” go read some registers responsibly πŸ§šπŸ’œ

🌟 sign-off szn: this slay little page lives in ./drivers/gpu/drm/i915/gt and it's dated October 2026. save it, screenshot it, put it on your fridge. mwah πŸ’‹
πŸ“¦ where this page comes from