i915_perf_unregister(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i915_perf_unregister β€” from the Kernel API Manual, bestie

✨ NAME ✨

i915_perf_unregister β€” the glow-down ritual that hides i915-perf from userspace 🫢


🌸 SYNOPSIS 🌸

void i915_perf_unregister (struct drm_i915_private *i915);

No cap, that's the whole signature. It's void, so it hands literally nothing back to you β€” no return value, no little goodbye gift 😭


πŸŽ€ ARGUMENTS πŸŽ€

  • i915 β€” your i915 device instance. That's the one and only thing it wants from you, bestie πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea β˜• β€” the i915-perf state cleanup is split up into two moments. There's the 'unregister' part, and this function is it: i915_perf_unregister hides i915-perf from userspace πŸ‘€βœ¨ Then, once that's done, the remaining state gets cleaned up over in i915_perf_fini.

the way that this is just the hide-and-tidy half of the job and i915_perf_fini picks up the rest… it's giving teamwork, honestly πŸ’…


🌈 SEE ALSO 🌈

first up, the source of truth: Kernel file ./drivers/gpu/drm/i915/i915_perf.c πŸ“ β€” go read it, iykyk

and then the whole friend group of related pages, all (9), no one left out 🫢:


lowkey a whole squad of (9) pages, and this one is just the unregister girlie saying bye to userspace before i915_perf_fini finishes the job 🧚

that's the whole page, bestie, you ate that πŸ’…βœ¨

sign-off szn: this came from the source/version tag ./drivers/gpu/drm/i915, dated October 2026 πŸŽ€πŸ“ slay, go read the kernel source β­πŸ‘‘

πŸ“¦ where this page comes from