gen6_rps_get_freq_caps(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– gen6_rps_get_freq_caps(9) πŸ’–

okay bestie, so this is a page straight outta the Kernel API Manual and it's literally about pulling the frequency caps that the hardware itself is exposing. no cap. it's a tiny little function but it's giving "important plumbing" energy, so let's get into it 🫢


✨ NAME ✨

gen6_rps_get_freq_caps β€” Get freq caps exposed by HW πŸ’…

like, the hardware tells you what it can do, and this function is the lil messenger that hands you that info. iconic behavior honestly πŸŽ€


🌸 SYNOPSIS 🌸

void gen6_rps_get_freq_caps (struct intel_rps *rps , struct
intel_rps_freq_caps *caps );

she takes two things and returns nothing (void, queen of not needing to prove herself) ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • rps β€” the intel_rps structure. this is your main character right here πŸ‘‘ she's the RPS state and she's carrying the whole vibe.
  • caps β€” returned freq caps. yes, "returned" β€” this is where the caps come back out to you. it's an out-param situation, iykyk 🧚

πŸ”₯ DESCRIPTION πŸ”₯

So the caps come back to you through caps, and here's the one thing you literally cannot skip, bestie:

Returned "caps" frequencies should be converted to MHz using intel_gpu_freq ⭐

like do NOT just read the raw number and assume it's MHz, okay?? convert first, then celebrate. the frequencies come back raw and intel_gpu_freq is the glow-up that turns them into actual MHz πŸ’–

no extra lore, no secret tricks β€” that's the whole description, and it ate πŸ“


🌈 SEE ALSO 🌈

a whole friend group of frequency-related functions, obsessed honestly πŸ’œ


and that's the page!! source vibes come from ./drivers/gpu/drm/i915/gt, dated October 2026, and honestly? she's short, she's sweet, she knows exactly what she is. slay, periodt πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from