intel_gt_mcr_read_any_fw(9)
π 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 π
- Kernel file
./drivers/gpu/drm/i915/gt/intel_gt_mcr.c - GT Multicast/Replicated (MCR) Register Support(9)
intel_gt_mcr_lock(9)intel_gt_mcr_unlock(9)intel_gt_mcr_lock_sanitize(9)intel_gt_mcr_read(9)intel_gt_mcr_unicast_write(9)intel_gt_mcr_multicast_write(9)intel_gt_mcr_multicast_write_fw(9)intel_gt_mcr_multicast_rmw(9)intel_gt_mcr_get_nonterminated_steering(9)intel_gt_mcr_read_any(9)intel_gt_mcr_get_ss_steering(9)intel_gt_mcr_wait_for_reg(9)
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
- 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