i915_perf_unregister(9)
π 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 π«Ά:
i915 Perf Overview(9)i915 Perf History and Comparison with Core Perf(9)OA Tail Pointer Race(9)struct perf_open_properties(9)oa_buffer_check_unlocked(9)append_oa_status(9)append_oa_sample(9)gen8_append_oa_reports(9)gen8_oa_read(9)gen7_append_oa_reports(9)gen7_oa_read(9)i915_oa_wait_unlocked(9)i915_oa_poll_wait(9)i915_oa_read(9)oa_get_render_ctx_id(9)oa_put_render_ctx_id(9)i915_oa_stream_enable(9)i915_oa_stream_disable(9)i915_oa_stream_init(9)i915_perf_read(9)i915_perf_poll_locked(9)i915_perf_poll(9)i915_perf_enable_locked(9)i915_perf_disable_locked(9)i915_perf_ioctl_locked(9)i915_perf_ioctl(9)i915_perf_destroy_locked(9)i915_perf_release(9)i915_perf_open_ioctl_locked(9)read_properties_unlocked(9)i915_perf_open_ioctl(9)i915_perf_register(9)i915_perf_add_config_ioctl(9)i915_perf_remove_config_ioctl(9)i915_perf_init(9)i915_perf_fini(9)i915_perf_ioctl_version(9)
lowkey a whole squad of(9)pages, and this one is just the unregister girlie saying bye to userspace beforei915_perf_finifinishes 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
- 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