ips_adjust(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME

ips_adjust β€” adjust power clamp based on thermal state

ok so bestie, this is the lil function that keeps your CPU and GPU from fighting over who gets to be hot πŸ’€


✨ SYNOPSIS

int ips_adjust (void *data );

πŸŽ€ ARGUMENTS

  • data β€” the ips driver structure 🫢

πŸ¦‹ DESCRIPTION

So basically this thing wakes up every 5s or so (yes, or so β€” she's not a clock, give her a break 😭) and checks whether we should adjust the power clamp. She peeks at CPU and GPU load to figure out which one needs the adjustment, and there's a whole list of things she's considering, okay:

  • do we need to adjust up or down? ⬆️⬇️
  • is CPU busy?
  • is GPU busy?
  • is CPU in turbo? πŸ”₯
  • is GPU in turbo? πŸ”₯
  • is CPU or GPU preferred? (CPU is default, she's the main character πŸ‘‘)

So, given all of the above, here's the whole vibe β€” we do the following:

  • up (TDP available) 🌈
    • CPU not busy, GPU not busy β€” nothing. literally nothing. we rest πŸ’€
    • CPU busy, GPU not busy β€” adjust CPU up
    • CPU not busy, GPU busy β€” adjust GPU up
    • CPU busy, GPU busy β€” adjust preferred unit up, taking headroom from the non-preferred unit if necessary (yes, we're stealing, it's fine πŸ’…)
  • down (at TDP limit) πŸ₯Ά
    • adjust both CPU and GPU down if possible

And here's the iconic little grid for that down case β€” copy it exactly, no editing bestie, I don't make the rules, I just show them:

|cpu+ gpu+      cpu+gpu-        cpu-gpu+        cpu-gpu- cpu < gpu <
|cpu+gpu+       cpu+            gpu+            nothing cpu < gpu >=
|cpu+gpu-(mcp<) cpu+gpu-(mcp<)  gpu-            gpu- cpu >= gpu < |cpu-
gpu+(mcp<) cpu-            cpu-gpu+(mcp<)  cpu- cpu >= gpu >=|cpu-gpu-
cpu-gpu-        cpu-gpu-        cpu-gpu-
ngl that grid is giving "someone ran a table through a blender" but it's verbatim from the page so we respect it πŸ™ˆ

πŸ’– RETURN

0

that's it. zero. she's chill like that 😌


πŸ‘‘ SEE ALSO

Kernel file ./drivers/platform/x86/intel_ips.c plus the whole friend group:


ok that's the whole thing, ily, go read the source bestie πŸ§šπŸ’œ

from ./drivers/platform/x86, dated October 2026 β€” slay, periodt, catch you in the next man page βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from