i915_oa_stream_disable(9)
β¨ i915_oa_stream_disable(9) β¨
okay so this is a page from the Kernel API Manual bestie, and it's about i915_oa_stream_disable π
π NAME π
i915_oa_stream_disable β the one that handles I915_PERF_IOCTL_DISABLE for an OA stream π«Ά
πΈ SYNOPSIS πΈ
void i915_oa_stream_disable (struct i915_perf_stream *stream );
π¦ ARGUMENTS π¦
streamβ an i915 perf stream that was opened for OA metrics π that's literally the whole vibe check here
π DESCRIPTION π
So what this does, right β it stops the OA unit from periodically writing counter reports into the circular OA buffer. Like, that's it, that's the job, and it ate β¨
It also stops the hrtimer that periodically checks for data in the circular OA buffer, for notifying userspace. Two for one, no cap π₯
lowkey the cleanest pair of shutdowns you'll ever see β counter reports stop getting written, and the little timer that pokes at the buffer to tell userspace "hey there's stuff here" stops too π
π SEE ALSO π
Grab a snack bestie, this list is long β but every single one of these is iconic in its own way π
- Kernel file
./drivers/gpu/drm/i915/i915_perf.c - 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_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_unregister(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)
that's the whole page bestie, go read the whole i915 Perf family, they're all main character energy π
sign-off time π§ β this one lives in ./drivers/gpu/drm/i915 and the version stamp says October 2026, so likeβ¦ future slay?? πβ¨ periodt.
π¦ 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