intel_gt_mcr_read_any(9)
π intel_gt_mcr_read_any β from the Kernel API Manual, bestie
okay so picture this: you're deep in the i915 driver and you just need one value out of an MCR register. not a whole song and dance, just one read. that's this function. it's literally the "just grab me a value" girlypop of the GT MCR world β¨
πΈ NAME πΈ
intel_gt_mcr_read_any β reads one instance of an MCR register
like, one instance. singular. she's not doing a whole multicast situation, she's picking a valid one and going with it. π
π¦ SYNOPSIS π¦
u32 intel_gt_mcr_read_any (struct intel_gt *gt , i915_mcr_reg_t reg );
π ARGUMENTS π
gtβ GT structure. the whole graphics tile situation, the context of where we're reading from πregβ register to read. the actual MCR register you're curious about π
β¨ DESCRIPTION β¨
Reads a GT MCR register. simple enough, right? but here's the tea: the read gets steered to a non-terminated instance β meaning an instance that isn't fused off and isn't powered down by power gating. so she sniffs around and picks one that's actually alive to answer. no cap. π₯
Returns the value from a non-terminated instance of reg. that's the whole vibe: you give her a register, she gives you back a real number from a real, living instance. π«Ά
β CONTEXT β
Calls a function that takes and releases gt->mcr_lock.
so like, heads up bestie β the lock gets grabbed and dropped inside this call. if you're already holding gt->mcr_lock yourself, that's a you problem and you should look at the non-locking variants. iykyk π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/i915/gt/intel_gt_mcr.c
- GT Multicast/Replicated (MCR) Register Support(9) β the whole lore π
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_fw(9)intel_gt_mcr_get_ss_steering(9)intel_gt_mcr_wait_for_reg(9)
okay that's the whole page, mwah π this one lives in ./drivers/gpu/drm/i915/gt and the version tag on it says October 2026 β go off, calendar icon ποΈβ¨
π¦ 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