intel_guc_slpc_get_min_freq(9)
π intel_guc_slpc_get_min_freq(9) π
okay so bestie, welcome to the Kernel API Manual β yes we're literally in the kernel docs rn and this page is about one very specific lil function and honestly? she's iconic. let's get into it π«Ά
β¨ NAME β¨
intel_guc_slpc_get_min_freq β the girl whose whole job is getting the min frequency limit for SLPC. that's it, that's the vibe. π
πΈ SYNOPSIS πΈ
int intel_guc_slpc_get_min_freq (struct intel_guc_slpc *slpc , u32 *val );
like, she takes two things and she returns an int. periodt. π
π¦ ARGUMENTS π¦
slpcβ pointer tointel_guc_slpc. yes it's a pointer, yes you need to pass a real one, no we're not doing null shenanigans today bestie πvalβ pointer tovalwhich will hold the min frequency (in MHz, capital M, capital H, capital Z, we're being precise π). this is where the answer lands, so make sure it's somewhere valid to write to β¨
π DESCRIPTION π
okay so here's the tea: this function will invoke a GuC SLPC action to read the min frequency limit for unslice. that's the whole assignment. she goes to the GuC, she asks the SLPC action nicely, and she comes back with the min frequency limit for unslice. no cap, that's literally it. π₯
like β she's not setting anything, she's not being dramatic, she's just reading. a reader. a listener. main character energy but make it a getter. π
β RETURN β
0on success π slay, we love a clean zero- non-zero error code on failure π that's a wrap, something went sideways, check the code
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.cβ go read the source, iykyk π§ SLPC - Dynamic Frequency management(9)β the whole frequency-management lore dropintel_guc_slpc_set_max_freq(9)β the max setter, her cousin πintel_guc_slpc_get_max_freq(9)β the max getter, her sibling πintel_guc_slpc_set_min_freq(9)β the min setter, the one who actually changes stuff π₯
ngl bestie, if you're here you're probably deep in i915 driver land. drink some water. you're doing great. π
and that's the page!! mwah π β brought to you by the fine folks over in ./drivers/gpu/drm/i915/gt/uc, dated October 2026, under the header intel_guc_slpc_get_min_freq(9). go forth and read those min frequencies, queen πβ¨
π¦ 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