i915_read_mch_val(9)
π NAME π
i915_read_mch_val β return value for IPS use β¨
Okay bestie, welcome to the Kernel API Manual page for i915_read_mch_val β yes, that whole iconic little function name, no cap π
πΈ SYNOPSIS πΈ
unsigned long i915_read_mch_val (void );
That's the whole vibe: it returns an unsigned long, and it takes void. Slay.
π ARGUMENTS π
voidβ no arguments, periodt. She takes nothing and gives you a value back π«Ά
π¦ DESCRIPTION π¦
So here's the tea β β i915_read_mch_val calculates and returns a value for the IPS driver to use when deciding whether we have thermal and power headroom to increase the CPU or GPU power budget. Literally that's her job π
No extra mystery, no secret side quest: calculate the value, return the value, let the IPS driver do its thing with it. Iconic behavior, honestly β¨
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/i915/gt/intel_rps.cπ gen6_rps_get_freq_caps(9)intel_rps_get_max_raw_freq(9)intel_rps_get_min_raw_freq(9)i915_gpu_raise(9)i915_gpu_lower(9)i915_gpu_busy(9)i915_gpu_turbo_disable(9)
Like, go read the friends too, iykyk π§ββοΈπ
This lil page comes from ./drivers/gpu/drm/i915/gt, and it's dated October 2026 β cute sign-off, 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